2017-08-03 22:43:05 +00:00
|
|
|
#!/usr/bin/env bash
|
2015-08-31 19:37:26 +00:00
|
|
|
# This script is executed by Sandcastle
|
|
|
|
# to determine next steps to run
|
|
|
|
|
2015-09-30 19:26:46 +00:00
|
|
|
# Usage:
|
2021-01-27 23:22:07 +00:00
|
|
|
# EMAIL=<email> ONCALL=<email> TRIGGER=<trigger> SUBSCRIBER=<email> WORKINGDIR=<working_dir> rocksdb-lego-determinator <test-name>
|
2015-09-30 19:26:46 +00:00
|
|
|
#
|
|
|
|
# Input Value
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
# EMAIL Email address to report on trigger conditions
|
2016-07-27 23:37:12 +00:00
|
|
|
# ONCALL Email address to raise a task on failure
|
2015-09-30 19:26:46 +00:00
|
|
|
# TRIGGER Trigger conditions for email. Valid values are fail, warn, all
|
|
|
|
# SUBSCRIBER Email addresss to add as subscriber for task
|
2021-01-27 23:22:07 +00:00
|
|
|
# WORKINGDIR Working directory
|
2015-09-24 22:15:45 +00:00
|
|
|
|
2015-09-09 23:32:26 +00:00
|
|
|
#
|
2015-09-30 19:26:46 +00:00
|
|
|
# Report configuration
|
2015-09-09 23:32:26 +00:00
|
|
|
#
|
2015-09-30 19:26:46 +00:00
|
|
|
REPORT_EMAIL=
|
|
|
|
if [ ! -z $EMAIL ]; then
|
|
|
|
if [ -z $TRIGGER ]; then
|
|
|
|
TRIGGER="fail"
|
|
|
|
fi
|
|
|
|
|
|
|
|
REPORT_EMAIL="
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"type\":\"email\",
|
|
|
|
\"triggers\": [ \"$TRIGGER\" ],
|
|
|
|
\"emails\":[\"$EMAIL\"]
|
2021-11-03 21:55:24 +00:00
|
|
|
}"
|
2015-09-30 19:26:46 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
CREATE_TASK=
|
|
|
|
if [ ! -z $ONCALL ]; then
|
|
|
|
CREATE_TASK="
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"type\":\"task\",
|
|
|
|
\"triggers\":[ \"fail\" ],
|
|
|
|
\"priority\":0,
|
|
|
|
\"subscribers\":[ \"$SUBSCRIBER\" ],
|
|
|
|
\"tags\":[ \"rocksdb\", \"ci\" ]
|
2021-11-03 21:55:24 +00:00
|
|
|
}"
|
2015-09-30 19:26:46 +00:00
|
|
|
fi
|
|
|
|
|
2016-07-27 23:37:12 +00:00
|
|
|
# For now, create the tasks using only the dedicated task creation tool.
|
|
|
|
CREATE_TASK=
|
|
|
|
|
2015-09-30 19:26:46 +00:00
|
|
|
REPORT=
|
|
|
|
if [[ ! -z $REPORT_EMAIL || ! -z $CREATE_TASK ]]; then
|
2021-11-05 19:20:00 +00:00
|
|
|
REPORT=",\"report\": [
|
2021-11-03 21:55:24 +00:00
|
|
|
$REPORT_EMAIL,
|
2015-09-30 19:26:46 +00:00
|
|
|
$CREATE_TASK
|
|
|
|
]"
|
|
|
|
fi
|
2015-09-04 19:25:15 +00:00
|
|
|
|
2021-01-27 23:22:07 +00:00
|
|
|
# Working directory for the following command, default to current directory
|
|
|
|
WORKING_DIR=.
|
|
|
|
if [ ! -z $WORKINGDIR ]; then
|
|
|
|
WORKING_DIR=$WORKINGDIR
|
|
|
|
fi
|
|
|
|
|
2015-09-30 19:26:46 +00:00
|
|
|
#
|
|
|
|
# Helper variables
|
|
|
|
#
|
2015-09-09 23:32:26 +00:00
|
|
|
CLEANUP_ENV="
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Cleanup environment\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; rm -rf /dev/shm/rocksdb && mkdir /dev/shm/rocksdb && (chmod +t /dev/shm || true) && make clean\",
|
|
|
|
\"user\":\"root\"
|
2015-09-09 23:32:26 +00:00
|
|
|
}"
|
|
|
|
|
2019-07-10 18:26:22 +00:00
|
|
|
UPLOAD_DB_DIR="
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Upload database directory\",
|
|
|
|
\"shell\":\"tar -cvzf rocksdb_db.tar.gz /dev/shm/rocksdb/\",
|
|
|
|
\"user\":\"root\",
|
|
|
|
\"cleanup\":true,
|
|
|
|
\"provide_artifacts\": [
|
2019-07-10 18:26:22 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"rocksdb_db_dir\",
|
|
|
|
\"paths\": [\"rocksdb_db.tar.gz\"],
|
|
|
|
\"bundle\": false
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
|
|
|
]
|
2019-07-10 18:26:22 +00:00
|
|
|
}"
|
|
|
|
|
2021-11-17 00:43:56 +00:00
|
|
|
# set default RATIO to 1, which sets J=$(nproc) and j=$(nproc)
|
2016-07-27 18:58:57 +00:00
|
|
|
if [ -z $RATIO ]; then
|
2021-11-17 00:43:56 +00:00
|
|
|
RATIO=1
|
2016-07-27 18:58:57 +00:00
|
|
|
fi
|
|
|
|
|
2021-11-17 00:43:56 +00:00
|
|
|
# Should probably be called PARALLEL_TEST
|
2016-07-27 18:58:57 +00:00
|
|
|
if [ -z $PARALLEL_J ]; then
|
2021-11-20 00:54:37 +00:00
|
|
|
PARALLEL_J="J=$(expr $(nproc) / ${RATIO})"
|
2016-07-27 18:58:57 +00:00
|
|
|
fi
|
|
|
|
|
2021-11-17 00:43:56 +00:00
|
|
|
# Should probably be called PARALLEL_MAKE
|
2016-07-27 18:58:57 +00:00
|
|
|
if [ -z $PARALLEL_j ]; then
|
|
|
|
PARALLEL_j="-j$(expr $(nproc) / ${RATIO})"
|
|
|
|
fi
|
|
|
|
|
|
|
|
PARALLELISM="$PARALLEL_J $PARALLEL_j"
|
|
|
|
|
2015-09-09 23:32:26 +00:00
|
|
|
DEBUG="OPT=-g"
|
|
|
|
SHM="TEST_TMPDIR=/dev/shm/rocksdb"
|
2017-03-23 22:09:15 +00:00
|
|
|
NON_SHM="TMPD=/tmp/rocksdb_test_tmp"
|
2015-09-09 23:32:26 +00:00
|
|
|
GCC_481="ROCKSDB_FBCODE_BUILD_WITH_481=1"
|
|
|
|
ASAN="COMPILE_WITH_ASAN=1"
|
|
|
|
CLANG="USE_CLANG=1"
|
2021-06-15 15:16:09 +00:00
|
|
|
TSAN="COMPILE_WITH_TSAN=1"
|
2016-03-30 22:59:24 +00:00
|
|
|
UBSAN="COMPILE_WITH_UBSAN=1"
|
2021-12-22 18:13:08 +00:00
|
|
|
ASAN_CRASH="ASAN_OPTIONS=disable_coredump=0"
|
2021-11-05 19:20:00 +00:00
|
|
|
TSAN_CRASH="CRASH_TEST_EXT_ARGS=\\\"--compression_type=zstd --log2_keys_per_lock=22\\\""
|
2018-08-06 22:23:03 +00:00
|
|
|
NON_TSAN_CRASH="CRASH_TEST_EXT_ARGS=--compression_type=zstd"
|
2015-09-11 22:34:33 +00:00
|
|
|
DISABLE_JEMALLOC="DISABLE_JEMALLOC=1"
|
2016-04-14 22:04:10 +00:00
|
|
|
HTTP_PROXY="https_proxy=http://fwdproxy.29.prn1:8080 http_proxy=http://fwdproxy.29.prn1:8080 ftp_proxy=http://fwdproxy.29.prn1:8080"
|
2017-02-24 02:35:54 +00:00
|
|
|
SETUP_JAVA_ENV="export $HTTP_PROXY; export JAVA_HOME=/usr/local/jdk-8u60-64/; export PATH=\$JAVA_HOME/bin:\$PATH"
|
2021-11-04 22:33:31 +00:00
|
|
|
PARSER="\"parser\":\"/usr/bin/env python3 build_tools/error_filter.py $1\""
|
2015-09-09 23:32:26 +00:00
|
|
|
|
2016-07-27 23:37:12 +00:00
|
|
|
CONTRUN_NAME="ROCKSDB_CONTRUN_NAME"
|
2021-02-01 17:15:56 +00:00
|
|
|
SKIP_FORMAT_CHECKS="SKIP_FORMAT_BUCK_CHECKS=1"
|
2016-07-27 23:37:12 +00:00
|
|
|
|
|
|
|
# This code is getting called under various scenarios. What we care about is to
|
|
|
|
# understand when it's called from nightly contruns because in that case we'll
|
|
|
|
# create tasks for any failures. To follow the existing pattern, we'll check
|
|
|
|
# the value of $ONCALL. If it's a diff then just call `false` to make sure
|
|
|
|
# that errors will be properly propagated to the caller.
|
|
|
|
if [ ! -z $ONCALL ]; then
|
2016-11-29 19:59:51 +00:00
|
|
|
TASK_CREATION_TOOL="/usr/local/bin/mysql_mtr_filter --rocksdb --oncall $ONCALL"
|
2016-07-27 23:37:12 +00:00
|
|
|
else
|
|
|
|
TASK_CREATION_TOOL="false"
|
|
|
|
fi
|
|
|
|
|
2015-09-21 19:51:15 +00:00
|
|
|
#
|
|
|
|
# A mechanism to disable tests temporarily
|
|
|
|
#
|
|
|
|
DISABLE_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Disable test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"steps\": [
|
2015-09-21 19:51:15 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Job disabled. Please contact test owner\",
|
|
|
|
\"shell\":\"exit 1\",
|
|
|
|
\"user\":\"root\"
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
|
|
|
]
|
2015-09-21 19:51:15 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-02 19:16:42 +00:00
|
|
|
#
|
|
|
|
# RocksDB unit test
|
|
|
|
#
|
2015-08-31 19:37:26 +00:00
|
|
|
UNIT_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-08-31 19:37:26 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and test RocksDB debug version\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM check || $CONTRUN_NAME=check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-08-31 19:37:26 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-07-21 19:53:02 +00:00
|
|
|
#
|
|
|
|
# RocksDB unit test not under /dev/shm
|
|
|
|
#
|
|
|
|
UNIT_TEST_NON_SHM_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2016-07-21 19:53:02 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and test RocksDB debug version\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $NON_SHM $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM check || $CONTRUN_NAME=non_shm_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2016-07-21 19:53:02 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-07-21 19:53:02 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-07-08 23:02:29 +00:00
|
|
|
#
|
|
|
|
# RocksDB release build and unit tests
|
|
|
|
#
|
2016-07-20 01:32:51 +00:00
|
|
|
RELEASE_BUILD_COMMANDS="[
|
2016-07-08 23:02:29 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Release Build\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2016-07-08 23:02:29 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB release\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; make $PARALLEL_j release || $CONTRUN_NAME=release $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2016-07-08 23:02:29 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-07-08 23:02:29 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-03 21:53:33 +00:00
|
|
|
#
|
|
|
|
# RocksDB unit test on gcc-4.8.1
|
|
|
|
#
|
|
|
|
UNIT_TEST_COMMANDS_481="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test on GCC 4.8.1\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-03 21:53:33 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and test RocksDB debug version\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $GCC_481 $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM check || $CONTRUN_NAME=unit_gcc_481_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-09 23:32:26 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-07-20 01:32:51 +00:00
|
|
|
#
|
|
|
|
# RocksDB release build and unit tests
|
|
|
|
#
|
|
|
|
RELEASE_BUILD_COMMANDS_481="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Release on GCC 4.8.1\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2016-07-20 01:32:51 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB release on GCC 4.8.1\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $GCC_481 make $PARALLEL_j release || $CONTRUN_NAME=release_gcc481 $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2016-07-20 01:32:51 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-07-20 01:32:51 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-09 23:32:26 +00:00
|
|
|
#
|
|
|
|
# RocksDB unit test with CLANG
|
|
|
|
#
|
|
|
|
CLANG_UNIT_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-03 21:53:33 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and test RocksDB debug\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $CLANG $SHM $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM check || $CONTRUN_NAME=clang_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-03 21:53:33 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-07-20 01:32:51 +00:00
|
|
|
#
|
|
|
|
# RocksDB release build with CLANG
|
|
|
|
#
|
|
|
|
CLANG_RELEASE_BUILD_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb CLANG Release Build\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2016-07-20 01:32:51 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB release\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $CLANG make $PARALLEL_j release|| $CONTRUN_NAME=clang_release $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2016-07-20 01:32:51 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-07-20 01:32:51 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-18 19:08:56 +00:00
|
|
|
#
|
|
|
|
# RocksDB analyze
|
|
|
|
#
|
|
|
|
CLANG_ANALYZE_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb analyze\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"RocksDB build and analyze\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $CLANG $SHM $DEBUG make $PARALLEL_j analyze || $CONTRUN_NAME=clang_analyze $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB code coverage
|
|
|
|
#
|
|
|
|
CODE_COV_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test Code Coverage\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build, test and collect code coverage info\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM coverage || $CONTRUN_NAME=coverage $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB unity
|
|
|
|
#
|
|
|
|
UNITY_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unity\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build, test unity test\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG V=1 make $PARALLELISM unity_test || $CONTRUN_NAME=unity_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-09 23:32:26 +00:00
|
|
|
#
|
|
|
|
# Build RocksDB lite
|
|
|
|
#
|
|
|
|
LITE_BUILD_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Lite build\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB debug version\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SKIP_FORMAT_CHECKS make $PARALLELISM LITE=1 all check || $CONTRUN_NAME=lite $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-26 18:50:29 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-10-26 18:50:29 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-02 19:16:42 +00:00
|
|
|
#
|
|
|
|
# RocksDB stress/crash test
|
|
|
|
#
|
|
|
|
STRESS_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Stress and Crash Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2015-09-02 19:16:42 +00:00
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug crash tests\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM crash_test || $CONTRUN_NAME=crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2020-01-29 23:57:13 +00:00
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-02 19:16:42 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2020-07-24 20:41:19 +00:00
|
|
|
#
|
|
|
|
# RocksDB blackbox stress/crash test
|
|
|
|
#
|
|
|
|
BLACKBOX_STRESS_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Blackbox Stress and Crash Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug blackbox crash tests\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM blackbox_crash_test || $CONTRUN_NAME=blackbox_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB whitebox stress/crash test
|
|
|
|
#
|
|
|
|
WHITEBOX_STRESS_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Whitebox Stress and Crash Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug whitebox crash tests\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM whitebox_crash_test || $CONTRUN_NAME=whitebox_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-02-19 22:02:30 +00:00
|
|
|
#
|
|
|
|
# RocksDB stress/crash test with atomic flush
|
|
|
|
#
|
|
|
|
STRESS_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Stress and Crash Test with atomic flush\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-02-19 22:02:30 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-02-19 22:02:30 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug crash tests with atomic flush\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM crash_test_with_atomic_flush || $CONTRUN_NAME=crash_test_with_atomic_flush $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-02-19 22:02:30 +00:00
|
|
|
$PARSER
|
2019-07-10 18:26:22 +00:00
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-02-19 22:02:30 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-12-11 23:59:45 +00:00
|
|
|
#
|
|
|
|
# RocksDB stress/crash test with txn
|
|
|
|
#
|
|
|
|
STRESS_CRASH_TEST_WITH_TXN_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Stress and Crash Test with txn\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-12-11 23:59:45 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-12-11 23:59:45 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug crash tests with txn\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM crash_test_with_txn || $CONTRUN_NAME=crash_test_with_txn $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-12-11 23:59:45 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-12-11 23:59:45 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2021-03-25 00:57:39 +00:00
|
|
|
#
|
|
|
|
# RocksDB stress/crash test with timestamp
|
|
|
|
#
|
|
|
|
STRESS_CRASH_TEST_WITH_TS_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Stress and Crash Test with ts\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2021-03-25 00:57:39 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug stress tests\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2021-03-25 00:57:39 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug crash tests with ts\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make $PARALLELISM crash_test_with_ts || $CONTRUN_NAME=crash_test_with_ts $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2021-03-25 00:57:39 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2021-03-25 00:57:39 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-11-05 20:07:39 +00:00
|
|
|
# RocksDB write stress test.
|
|
|
|
# We run on disk device on purpose (i.e. no $SHM)
|
|
|
|
# because we want to add some randomness to fsync commands
|
|
|
|
WRITE_STRESS_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Write Stress Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-11-05 20:07:39 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB write stress tests\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; make write_stress && /usr/bin/env python3 tools/write_stress_runner.py --runtime_sec=3600 --db=/tmp/rocksdb_write_stress || $CONTRUN_NAME=write_stress $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-11-05 20:07:39 +00:00
|
|
|
$PARSER
|
|
|
|
}
|
|
|
|
],
|
2021-11-05 19:20:00 +00:00
|
|
|
\"artifacts\": [{\"name\": \"database\", \"paths\": [\"/tmp/rocksdb_write_stress\"]}]
|
2015-11-05 20:07:39 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
|
2015-09-02 19:16:42 +00:00
|
|
|
#
|
|
|
|
# RocksDB test under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Test RocksDB debug under ASAN\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $ASAN $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM asan_check || $CONTRUN_NAME=asan_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2015-09-02 19:16:42 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-02 19:16:42 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB crash testing under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug asan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-12-22 18:13:08 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $ASAN_CRASH $NON_TSAN_CRASH $SKIP_FORMAT_CHECKS make $PARALLELISM asan_crash_test || $CONTRUN_NAME=asan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2015-09-02 19:16:42 +00:00
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-02 19:16:42 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2020-07-24 20:41:19 +00:00
|
|
|
#
|
|
|
|
# RocksDB blackbox crash testing under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_BLACKBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb blackbox crash test under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug blackbox asan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-12-22 18:13:08 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $ASAN_CRASH $NON_TSAN_CRASH $SKIP_FORMAT_CHECKS make $PARALLELISM blackbox_asan_crash_test || $CONTRUN_NAME=blackbox_asan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB whitebox crash testing under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_WHITEBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb whitebox crash test under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug whitebox asan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-12-22 18:13:08 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $ASAN_CRASH $NON_TSAN_CRASH $SKIP_FORMAT_CHECKS make $PARALLELISM whitebox_asan_crash_test || $CONTRUN_NAME=whitebox_asan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-02-19 22:02:30 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash testing with atomic flush under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test with atomic flush under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-02-19 22:02:30 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug asan_crash_test_with_atomic_flush\",
|
|
|
|
\"timeout\": 86400,
|
2021-12-22 18:13:08 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $ASAN_CRASH $NON_TSAN_CRASH $SKIP_FORMAT_CHECKS make $PARALLELISM asan_crash_test_with_atomic_flush || $CONTRUN_NAME=asan_crash_test_with_atomic_flush $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-02-19 22:02:30 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-02-19 22:02:30 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-12-11 23:59:45 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash testing with txn under address sanitizer
|
|
|
|
#
|
|
|
|
ASAN_CRASH_TEST_WITH_TXN_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test with txn under ASAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-12-11 23:59:45 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug asan_crash_test_with_txn\",
|
|
|
|
\"timeout\": 86400,
|
2021-12-22 18:13:08 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $ASAN_CRASH $NON_TSAN_CRASH $SKIP_FORMAT_CHECKS make $PARALLELISM asan_crash_test_with_txn || $CONTRUN_NAME=asan_crash_test_with_txn $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-12-11 23:59:45 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-12-11 23:59:45 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-03-30 22:59:24 +00:00
|
|
|
#
|
|
|
|
# RocksDB test under undefined behavior sanitizer
|
|
|
|
#
|
|
|
|
UBSAN_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2016-03-30 22:59:24 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Test RocksDB debug under UBSAN\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $UBSAN $CLANG $DEBUG $SKIP_FORMAT_CHECKS make $PARALLELISM ubsan_check || $CONTRUN_NAME=ubsan_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2016-03-30 22:59:24 +00:00
|
|
|
$PARSER
|
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-03-30 22:59:24 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
2020-07-24 20:41:19 +00:00
|
|
|
# RocksDB crash testing under undefined behavior sanitizer
|
2016-03-30 22:59:24 +00:00
|
|
|
#
|
|
|
|
UBSAN_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2016-03-30 22:59:24 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug ubsan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH $CLANG $SKIP_FORMAT_CHECKS make $PARALLELISM ubsan_crash_test || $CONTRUN_NAME=ubsan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2016-03-30 22:59:24 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-03-30 22:59:24 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2020-07-24 20:41:19 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash testing under undefined behavior sanitizer
|
|
|
|
#
|
|
|
|
UBSAN_BLACKBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb blackbox crash test under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug blackbox ubsan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH $CLANG $SKIP_FORMAT_CHECKS make $PARALLELISM blackbox_ubsan_crash_test || $CONTRUN_NAME=blackbox_ubsan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB crash testing under undefined behavior sanitizer
|
|
|
|
#
|
|
|
|
UBSAN_WHITEBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb whitebox crash test under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug whitebox ubsan_crash_test\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH $CLANG $SKIP_FORMAT_CHECKS make $PARALLELISM whitebox_ubsan_crash_test || $CONTRUN_NAME=whitebox_ubsan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-02-19 22:02:30 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash testing with atomic flush under undefined behavior sanitizer
|
|
|
|
#
|
|
|
|
UBSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test with atomic flush under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-02-19 22:02:30 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug ubsan_crash_test_with_atomic_flush\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH $CLANG $SKIP_FORMAT_CHECKS make $PARALLELISM ubsan_crash_test_with_atomic_flush || $CONTRUN_NAME=ubsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-02-19 22:02:30 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-02-19 22:02:30 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-12-11 23:59:45 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash testing with txn under undefined behavior sanitizer
|
|
|
|
#
|
|
|
|
UBSAN_CRASH_TEST_WITH_TXN_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb crash test with txn under UBSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-12-11 23:59:45 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build and run RocksDB debug ubsan_crash_test_with_txn\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH $CLANG $SKIP_FORMAT_CHECKS make $PARALLELISM ubsan_crash_test_with_txn || $CONTRUN_NAME=ubsan_crash_test_with_txn $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-12-11 23:59:45 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-12-11 23:59:45 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-02 19:16:42 +00:00
|
|
|
#
|
2015-09-09 23:32:26 +00:00
|
|
|
# RocksDB unit test under valgrind
|
2015-09-02 19:16:42 +00:00
|
|
|
#
|
2015-09-09 23:32:26 +00:00
|
|
|
VALGRIND_TEST_COMMANDS="[
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test under valgrind\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Run RocksDB debug unit tests\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"shell\":\"cd $WORKING_DIR; $SHM $DEBUG make $PARALLELISM valgrind_test || $CONTRUN_NAME=valgrind_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-09 23:32:26 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB test under TSAN
|
|
|
|
#
|
2015-09-18 19:08:56 +00:00
|
|
|
TSAN_UNIT_TEST_COMMANDS="[
|
2015-09-09 23:32:26 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Unit Test under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2015-09-09 23:32:26 +00:00
|
|
|
$CLEANUP_ENV,
|
2015-09-02 19:16:42 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Run RocksDB debug unit test\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $SKIP_FORMAT_CHECKS make $PARALLELISM check || $CONTRUN_NAME=tsan_check $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-02 19:16:42 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-18 19:08:56 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash test under TSAN
|
|
|
|
#
|
|
|
|
TSAN_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Crash Test under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Compile and run\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make $PARALLELISM crash_test || $CONTRUN_NAME=tsan_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2015-09-18 19:08:56 +00:00
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2020-07-24 20:41:19 +00:00
|
|
|
#
|
|
|
|
# RocksDB blackbox crash test under TSAN
|
|
|
|
#
|
|
|
|
TSAN_BLACKBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Blackbox Crash Test under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Compile and run\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make $PARALLELISM blackbox_crash_test || $CONTRUN_NAME=tsan_blackbox_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB whitebox crash test under TSAN
|
|
|
|
#
|
|
|
|
TSAN_WHITEBOX_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Whitebox Crash Test under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2020-07-24 20:41:19 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Compile and run\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make $PARALLELISM whitebox_crash_test || $CONTRUN_NAME=tsan_whitebox_crash_test $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2020-07-24 20:41:19 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2020-07-24 20:41:19 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-02-19 22:02:30 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash test with atomic flush under TSAN
|
|
|
|
#
|
|
|
|
TSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Crash Test with atomic flush under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-02-19 22:02:30 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Compile and run\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make $PARALLELISM crash_test_with_atomic_flush || $CONTRUN_NAME=tsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-02-19 22:02:30 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-02-19 22:02:30 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2019-12-11 23:59:45 +00:00
|
|
|
#
|
|
|
|
# RocksDB crash test with txn under TSAN
|
|
|
|
#
|
|
|
|
TSAN_CRASH_TEST_WITH_TXN_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Crash Test with txn under TSAN\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2019-12-11 23:59:45 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Compile and run\",
|
|
|
|
\"timeout\": 86400,
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make $PARALLELISM crash_test_with_txn || $CONTRUN_NAME=tsan_crash_test_with_txn $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2019-12-11 23:59:45 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
2021-11-03 21:55:24 +00:00
|
|
|
$UPLOAD_DB_DIR
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2019-12-11 23:59:45 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2015-09-18 19:08:56 +00:00
|
|
|
#
|
|
|
|
# RocksDB format compatible
|
|
|
|
#
|
|
|
|
|
2015-09-20 00:33:06 +00:00
|
|
|
run_format_compatible()
|
|
|
|
{
|
|
|
|
export TEST_TMPDIR=/dev/shm/rocksdb
|
|
|
|
rm -rf /dev/shm/rocksdb
|
|
|
|
mkdir /dev/shm/rocksdb
|
|
|
|
|
2020-04-15 18:23:45 +00:00
|
|
|
export https_proxy="fwdproxy:8080"
|
2021-11-03 21:55:24 +00:00
|
|
|
|
2017-07-18 17:57:10 +00:00
|
|
|
tools/check_format_compatible.sh
|
2015-09-20 00:33:06 +00:00
|
|
|
}
|
2015-09-18 19:08:56 +00:00
|
|
|
|
|
|
|
FORMAT_COMPATIBLE_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Format Compatible tests\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Run RocksDB debug unit test\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; build_tools/rocksdb-lego-determinator run_format_compatible || $CONTRUN_NAME=run_format_compatible $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB no compression
|
|
|
|
#
|
2015-09-20 00:33:06 +00:00
|
|
|
run_no_compression()
|
|
|
|
{
|
|
|
|
export TEST_TMPDIR=/dev/shm/rocksdb
|
|
|
|
rm -rf /dev/shm/rocksdb
|
|
|
|
mkdir /dev/shm/rocksdb
|
|
|
|
make clean
|
2019-02-14 00:37:38 +00:00
|
|
|
cat build_tools/fbcode_config.sh | grep -iv dzstd | grep -iv dzlib | grep -iv dlz4 | grep -iv dsnappy | grep -iv dbzip2 > .tmp.fbcode_config.sh
|
2015-09-20 00:33:06 +00:00
|
|
|
mv .tmp.fbcode_config.sh build_tools/fbcode_config.sh
|
|
|
|
cat Makefile | grep -v tools/ldb_test.py > .tmp.Makefile
|
|
|
|
mv .tmp.Makefile Makefile
|
2021-02-01 17:15:56 +00:00
|
|
|
export $SKIP_FORMAT_CHECKS
|
2021-11-17 00:43:56 +00:00
|
|
|
make $DEBUG $PARALLELISM check
|
2015-09-20 00:33:06 +00:00
|
|
|
}
|
2015-09-18 19:08:56 +00:00
|
|
|
|
|
|
|
NO_COMPRESSION_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb No Compression tests\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Run RocksDB debug unit test\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; build_tools/rocksdb-lego-determinator run_no_compression || $CONTRUN_NAME=run_no_compression $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
|
|
|
#
|
|
|
|
# RocksDB regression
|
|
|
|
#
|
2015-09-20 00:33:06 +00:00
|
|
|
run_regression()
|
|
|
|
{
|
2021-09-05 00:34:01 +00:00
|
|
|
time bash -vx ./build_tools/regression_build_test.sh $(mktemp -d $WORKING_DIR/rocksdb.XXXX) $(mktemp rocksdb_test_stats.XXXX)
|
2015-09-20 00:33:06 +00:00
|
|
|
|
|
|
|
# ======= report size to ODS ========
|
|
|
|
|
|
|
|
# parameters: $1 -- key, $2 -- value
|
|
|
|
function send_size_to_ods {
|
2020-01-30 19:00:08 +00:00
|
|
|
curl --silent "https://www.intern.facebook.com/intern/agent/ods_set.php?entity=rocksdb_build&key=rocksdb.build_size.$1&value=$2" \
|
2015-09-20 00:33:06 +00:00
|
|
|
--connect-timeout 60
|
|
|
|
}
|
|
|
|
|
|
|
|
# === normal build ===
|
|
|
|
make clean
|
|
|
|
make -j$(nproc) static_lib
|
|
|
|
send_size_to_ods static_lib $(stat --printf="%s" librocksdb.a)
|
|
|
|
strip librocksdb.a
|
|
|
|
send_size_to_ods static_lib_stripped $(stat --printf="%s" librocksdb.a)
|
|
|
|
|
2020-08-24 16:10:10 +00:00
|
|
|
make clean
|
2015-09-20 00:33:06 +00:00
|
|
|
make -j$(nproc) shared_lib
|
|
|
|
send_size_to_ods shared_lib $(stat --printf="%s" `readlink -f librocksdb.so`)
|
|
|
|
strip `readlink -f librocksdb.so`
|
|
|
|
send_size_to_ods shared_lib_stripped $(stat --printf="%s" `readlink -f librocksdb.so`)
|
|
|
|
|
|
|
|
# === lite build ===
|
|
|
|
make clean
|
2018-11-08 06:08:35 +00:00
|
|
|
make LITE=1 -j$(nproc) static_lib
|
2015-09-20 00:33:06 +00:00
|
|
|
send_size_to_ods static_lib_lite $(stat --printf="%s" librocksdb.a)
|
|
|
|
strip librocksdb.a
|
|
|
|
send_size_to_ods static_lib_lite_stripped $(stat --printf="%s" librocksdb.a)
|
|
|
|
|
2020-08-24 16:10:10 +00:00
|
|
|
make clean
|
2018-11-08 06:08:35 +00:00
|
|
|
make LITE=1 -j$(nproc) shared_lib
|
2015-09-20 00:33:06 +00:00
|
|
|
send_size_to_ods shared_lib_lite $(stat --printf="%s" `readlink -f librocksdb.so`)
|
|
|
|
strip `readlink -f librocksdb.so`
|
|
|
|
send_size_to_ods shared_lib_lite_stripped $(stat --printf="%s" `readlink -f librocksdb.so`)
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
REGRESSION_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb regression commands\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2015-09-18 19:08:56 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Make and run script\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; build_tools/rocksdb-lego-determinator run_regression || $CONTRUN_NAME=run_regression $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2015-10-10 00:54:20 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2015-09-30 19:26:46 +00:00
|
|
|
$REPORT
|
2015-09-18 19:08:56 +00:00
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-04-13 18:38:47 +00:00
|
|
|
#
|
|
|
|
# RocksDB Java build
|
|
|
|
#
|
|
|
|
JAVA_BUILD_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Java Build\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"steps\": [
|
2016-04-13 18:38:47 +00:00
|
|
|
$CLEANUP_ENV,
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB for Java\",
|
2021-11-17 00:43:56 +00:00
|
|
|
\"shell\":\"cd $WORKING_DIR; $SETUP_JAVA_ENV; $SHM make $PARALLELISM rocksdbjava || $CONTRUN_NAME=rocksdbjava $TASK_CREATION_TOOL\",
|
2021-11-04 22:33:31 +00:00
|
|
|
\"user\":\"root\",
|
2016-04-13 18:38:47 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2016-04-13 18:38:47 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2021-07-01 19:22:01 +00:00
|
|
|
#
|
|
|
|
# RocksDB fbcode stress/crash test
|
|
|
|
#
|
|
|
|
FBCODE_STRESS_CRASH_TEST_COMMANDS="[
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Rocksdb Fbcode Stress and Crash Test\",
|
|
|
|
\"oncall\":\"$ONCALL\",
|
|
|
|
\"executeLocal\": \"true\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"steps\": [
|
2021-07-01 19:22:01 +00:00
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Copy RocksDB code to fbcode repo\",
|
|
|
|
\"shell\":\"cd internal_repo_rocksdb/repo && git init -b main && git add * && git commit -a -m \\\"Make internal_repo_rocksdb/repo a git repo\\\" && cd ../.. && echo Y | python3 rocks/release_script/release_to_fbcode.py -u internal_repo_rocksdb/repo main || $CONTRUN_NAME=db_stress_fbcode $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2021-07-01 19:22:01 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Build RocksDB fbcode stress tests\",
|
|
|
|
\"shell\":\"cd $WORKING_DIR; buck build @mode/dbg rocks/tools:rocks_db_stress || $CONTRUN_NAME=db_stress_fbcode $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2021-07-01 19:22:01 +00:00
|
|
|
$PARSER
|
|
|
|
},
|
|
|
|
{
|
2021-11-04 22:33:31 +00:00
|
|
|
\"name\":\"Run RocksDB whitebox crash tests\",
|
|
|
|
\"timeout\": 86400,
|
|
|
|
\"shell\":\"cd $WORKING_DIR; mkdir /dev/shm/rocksdb_fbcode_crash_test && TEST_TMPDIR=\$(mktemp -d --tmpdir=/dev/shm/rocksdb_fbcode_crash_test) python3 rocksdb/src/tools/db_crashtest.py --stress_cmd=buck-out/dbg/gen/rocks/tools/rocks_db_stress -secondary_cache_uri=\\\"$SECONDARY_CACHE_URI\\\" --env_uri=$ENV_URI $EXTRA_DB_STRESS_ARGS -logtostderr=false $TEST_TYPE || $CONTRUN_NAME=db_stress_fbcode $TASK_CREATION_TOOL\",
|
|
|
|
\"user\":\"root\",
|
2021-07-01 19:22:01 +00:00
|
|
|
$PARSER
|
2021-11-03 21:55:24 +00:00
|
|
|
}
|
2021-11-05 19:20:00 +00:00
|
|
|
]
|
2021-07-01 19:22:01 +00:00
|
|
|
$REPORT
|
|
|
|
}
|
|
|
|
]"
|
|
|
|
|
2016-04-13 18:38:47 +00:00
|
|
|
|
2015-08-31 19:37:26 +00:00
|
|
|
case $1 in
|
|
|
|
unit)
|
|
|
|
echo $UNIT_TEST_COMMANDS
|
|
|
|
;;
|
2016-07-21 19:53:02 +00:00
|
|
|
unit_non_shm)
|
|
|
|
echo $UNIT_TEST_NON_SHM_COMMANDS
|
|
|
|
;;
|
2016-07-08 23:02:29 +00:00
|
|
|
release)
|
2016-07-20 01:32:51 +00:00
|
|
|
echo $RELEASE_BUILD_COMMANDS
|
2016-07-08 23:02:29 +00:00
|
|
|
;;
|
2015-09-03 21:53:33 +00:00
|
|
|
unit_481)
|
|
|
|
echo $UNIT_TEST_COMMANDS_481
|
|
|
|
;;
|
2016-07-20 01:32:51 +00:00
|
|
|
release_481)
|
|
|
|
echo $RELEASE_BUILD_COMMANDS_481
|
|
|
|
;;
|
2015-09-09 23:32:26 +00:00
|
|
|
clang_unit)
|
|
|
|
echo $CLANG_UNIT_TEST_COMMANDS
|
|
|
|
;;
|
2016-07-20 01:32:51 +00:00
|
|
|
clang_release)
|
|
|
|
echo $CLANG_RELEASE_BUILD_COMMANDS
|
|
|
|
;;
|
2015-09-18 19:08:56 +00:00
|
|
|
clang_analyze)
|
|
|
|
echo $CLANG_ANALYZE_COMMANDS
|
|
|
|
;;
|
|
|
|
code_cov)
|
|
|
|
echo $CODE_COV_COMMANDS
|
|
|
|
;;
|
|
|
|
unity)
|
|
|
|
echo $UNITY_COMMANDS
|
|
|
|
;;
|
2015-09-09 23:32:26 +00:00
|
|
|
lite)
|
|
|
|
echo $LITE_BUILD_COMMANDS
|
|
|
|
;;
|
2015-09-02 19:16:42 +00:00
|
|
|
stress_crash)
|
|
|
|
echo $STRESS_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2020-07-25 00:28:27 +00:00
|
|
|
blackbox_stress_crash)
|
|
|
|
echo $BLACKBOX_STRESS_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
whitebox_stress_crash)
|
|
|
|
echo $WHITEBOX_STRESS_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2019-02-19 22:02:30 +00:00
|
|
|
stress_crash_with_atomic_flush)
|
|
|
|
echo $STRESS_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
|
|
|
|
;;
|
2019-12-11 23:59:45 +00:00
|
|
|
stress_crash_with_txn)
|
|
|
|
echo $STRESS_CRASH_TEST_WITH_TXN_COMMANDS
|
|
|
|
;;
|
2021-03-25 00:57:39 +00:00
|
|
|
stress_crash_with_ts)
|
|
|
|
echo $STRESS_CRASH_TEST_WITH_TS_COMMANDS
|
|
|
|
;;
|
2015-11-05 20:07:39 +00:00
|
|
|
write_stress)
|
|
|
|
echo $WRITE_STRESS_COMMANDS
|
|
|
|
;;
|
2015-09-02 19:16:42 +00:00
|
|
|
asan)
|
|
|
|
echo $ASAN_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
asan_crash)
|
|
|
|
echo $ASAN_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2020-07-25 00:28:27 +00:00
|
|
|
blackbox_asan_crash)
|
|
|
|
echo $ASAN_BLACKBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
whitebox_asan_crash)
|
|
|
|
echo $ASAN_WHITEBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2019-02-19 22:02:30 +00:00
|
|
|
asan_crash_with_atomic_flush)
|
|
|
|
echo $ASAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
|
|
|
|
;;
|
2019-12-11 23:59:45 +00:00
|
|
|
asan_crash_with_txn)
|
|
|
|
echo $ASAN_CRASH_TEST_WITH_TXN_COMMANDS
|
|
|
|
;;
|
2016-03-30 22:59:24 +00:00
|
|
|
ubsan)
|
|
|
|
echo $UBSAN_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
ubsan_crash)
|
|
|
|
echo $UBSAN_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2020-07-25 00:28:27 +00:00
|
|
|
blackbox_ubsan_crash)
|
|
|
|
echo $UBSAN_BLACKBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
whitebox_ubsan_crash)
|
|
|
|
echo $UBSAN_WHITEBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2019-02-19 22:02:30 +00:00
|
|
|
ubsan_crash_with_atomic_flush)
|
|
|
|
echo $UBSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
|
|
|
|
;;
|
2019-12-11 23:59:45 +00:00
|
|
|
ubsan_crash_with_txn)
|
|
|
|
echo $UBSAN_CRASH_TEST_WITH_TXN_COMMANDS
|
|
|
|
;;
|
2015-09-09 23:32:26 +00:00
|
|
|
valgrind)
|
|
|
|
echo $VALGRIND_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
tsan)
|
2015-09-18 19:08:56 +00:00
|
|
|
echo $TSAN_UNIT_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
tsan_crash)
|
|
|
|
echo $TSAN_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2020-07-25 00:28:27 +00:00
|
|
|
blackbox_tsan_crash)
|
|
|
|
echo $TSAN_BLACKBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
|
|
|
whitebox_tsan_crash)
|
|
|
|
echo $TSAN_WHITEBOX_CRASH_TEST_COMMANDS
|
|
|
|
;;
|
2019-02-19 22:02:30 +00:00
|
|
|
tsan_crash_with_atomic_flush)
|
|
|
|
echo $TSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
|
|
|
|
;;
|
2019-12-11 23:59:45 +00:00
|
|
|
tsan_crash_with_txn)
|
|
|
|
echo $TSAN_CRASH_TEST_WITH_TXN_COMMANDS
|
|
|
|
;;
|
2015-09-18 19:08:56 +00:00
|
|
|
format_compatible)
|
|
|
|
echo $FORMAT_COMPATIBLE_COMMANDS
|
|
|
|
;;
|
2015-09-20 00:33:06 +00:00
|
|
|
run_format_compatible)
|
|
|
|
run_format_compatible
|
|
|
|
;;
|
2015-09-18 19:08:56 +00:00
|
|
|
no_compression)
|
|
|
|
echo $NO_COMPRESSION_COMMANDS
|
|
|
|
;;
|
2015-09-20 00:33:06 +00:00
|
|
|
run_no_compression)
|
|
|
|
run_no_compression
|
|
|
|
;;
|
2015-09-18 19:08:56 +00:00
|
|
|
regression)
|
|
|
|
echo $REGRESSION_COMMANDS
|
2015-09-02 19:16:42 +00:00
|
|
|
;;
|
2015-09-20 00:33:06 +00:00
|
|
|
run_regression)
|
2021-09-04 02:03:56 +00:00
|
|
|
set -e
|
2015-09-20 00:33:06 +00:00
|
|
|
run_regression
|
2021-09-05 00:34:01 +00:00
|
|
|
set +e
|
2015-09-20 00:33:06 +00:00
|
|
|
;;
|
2016-04-13 18:38:47 +00:00
|
|
|
java_build)
|
|
|
|
echo $JAVA_BUILD_TEST_COMMANDS
|
|
|
|
;;
|
2021-07-01 19:22:01 +00:00
|
|
|
fbcode_stress_crash)
|
|
|
|
set -f
|
|
|
|
echo $FBCODE_STRESS_CRASH_TEST_COMMANDS
|
|
|
|
set +f
|
|
|
|
;;
|
2015-08-31 19:37:26 +00:00
|
|
|
*)
|
2015-09-09 23:32:26 +00:00
|
|
|
echo "Invalid determinator command"
|
2020-01-29 23:57:13 +00:00
|
|
|
exit 1
|
2015-08-31 19:37:26 +00:00
|
|
|
;;
|
|
|
|
esac
|