@ -400,6 +400,35 @@ STRESS_CRASH_TEST_COMMANDS="[
}
}
]"
]"
#
# RocksDB stress/crash test with atomic flush
#
STRESS_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
{
'name':'Rocksdb Stress/Crash Test (atomic flush)',
'oncall':'$ONCALL',
'timeout': 86400,
'steps': [
$CLEANUP_ENV,
{
'name':'Build and run RocksDB debug stress tests',
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL',
'user':'root',
$PARSER
},
{
'name':'Build and run RocksDB debug crash tests with atomic flush',
'timeout': 86400,
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 crash_test_with_atomic_flush || $CONTRUN_NAME=crash_test_with_atomic_flush $TASK_CREATION_TOOL',
'user':'root',
$PARSER
}
],
$ARTIFACTS,
$REPORT
}
]"
# RocksDB write stress test.
# RocksDB write stress test.
# We run on disk device on purpose (i.e. no $SHM)
# We run on disk device on purpose (i.e. no $SHM)
# because we want to add some randomness to fsync commands
# because we want to add some randomness to fsync commands
@ -464,6 +493,28 @@ ASAN_CRASH_TEST_COMMANDS="[
}
}
]"
]"
#
# RocksDB crash testing with atomic flush under address sanitizer
#
ASAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
{
'name':'Rocksdb crash test (atomic flush) under ASAN',
'oncall':'$ONCALL',
'timeout': 86400,
'steps': [
$CLEANUP_ENV,
{
'name':'Build and run RocksDB debug asan_crash_test_with_atomic_flush',
'timeout': 86400,
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 asan_crash_test_with_atomic_flush || $CONTRUN_NAME=asan_crash_test_with_atomic_flush $TASK_CREATION_TOOL',
'user':'root',
$PARSER
},
],
$REPORT
}
]"
#
#
# RocksDB test under undefined behavior sanitizer
# RocksDB test under undefined behavior sanitizer
#
#
@ -506,6 +557,28 @@ UBSAN_CRASH_TEST_COMMANDS="[
}
}
]"
]"
#
# RocksDB crash testing with atomic flush under undefined behavior sanitizer
#
UBSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
{
'name':'Rocksdb crash test (atomic flush) under UBSAN',
'oncall':'$ONCALL',
'timeout': 86400,
'steps': [
$CLEANUP_ENV,
{
'name':'Build and run RocksDB debug ubsan_crash_test_with_atomic_flush',
'timeout': 86400,
'shell':'$SHM $DEBUG $NON_TSAN_CRASH make J=1 ubsan_crash_test_with_atomic_flush || $CONTRUN_NAME=ubsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL',
'user':'root',
$PARSER
},
],
$REPORT
}
]"
#
#
# RocksDB unit test under valgrind
# RocksDB unit test under valgrind
#
#
@ -572,6 +645,28 @@ TSAN_CRASH_TEST_COMMANDS="[
}
}
]"
]"
#
# RocksDB crash test with atomic flush under TSAN
#
TSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS="[
{
'name':'Rocksdb Crash Test with atomic flush under TSAN',
'oncall':'$ONCALL',
'timeout': 86400,
'steps': [
$CLEANUP_ENV,
{
'name':'Compile and run',
'timeout': 86400,
'shell':'set -o pipefail && $SHM $DEBUG $TSAN $TSAN_CRASH CRASH_TEST_KILL_ODD=1887 make J=1 crash_test_with_atomic_flush || $CONTRUN_NAME=tsan_crash_test_with_atomic_flush $TASK_CREATION_TOOL',
'user':'root',
$PARSER
},
],
$REPORT
}
]"
#
#
# RocksDB format compatible
# RocksDB format compatible
#
#
@ -753,6 +848,9 @@ case $1 in
stress_crash)
stress_crash)
echo $STRESS_CRASH_TEST_COMMANDS
echo $STRESS_CRASH_TEST_COMMANDS
;;
;;
stress_crash_with_atomic_flush)
echo $STRESS_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
;;
write_stress)
write_stress)
echo $WRITE_STRESS_COMMANDS
echo $WRITE_STRESS_COMMANDS
;;
;;
@ -762,12 +860,18 @@ case $1 in
asan_crash)
asan_crash)
echo $ASAN_CRASH_TEST_COMMANDS
echo $ASAN_CRASH_TEST_COMMANDS
;;
;;
asan_crash_with_atomic_flush)
echo $ASAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
;;
ubsan)
ubsan)
echo $UBSAN_TEST_COMMANDS
echo $UBSAN_TEST_COMMANDS
;;
;;
ubsan_crash)
ubsan_crash)
echo $UBSAN_CRASH_TEST_COMMANDS
echo $UBSAN_CRASH_TEST_COMMANDS
;;
;;
ubsan_crash_with_atomic_flush)
echo $UBSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
;;
valgrind)
valgrind)
echo $VALGRIND_TEST_COMMANDS
echo $VALGRIND_TEST_COMMANDS
;;
;;
@ -777,6 +881,9 @@ case $1 in
tsan_crash)
tsan_crash)
echo $TSAN_CRASH_TEST_COMMANDS
echo $TSAN_CRASH_TEST_COMMANDS
;;
;;
tsan_crash_with_atomic_flush)
echo $TSAN_CRASH_TEST_WITH_ATOMIC_FLUSH_COMMANDS
;;
format_compatible)
format_compatible)
echo $FORMAT_COMPATIBLE_COMMANDS
echo $FORMAT_COMPATIBLE_COMMANDS
;;
;;