@@ -8,7 +8,7 @@
# check filesystem consistency at the end.
#
. ./common/preamble
-_begin_fstest aio dangerous enospc rw stress recoveryloop
+_begin_fstest aio dangerous enospc rw stress recoveryloop soak
fio_config=$tmp.fio
@@ -15,7 +15,7 @@
# spurious corruption reports and/or mount failures.
#
. ./common/preamble
-_begin_fstest shutdown auto log metadata recoveryloop
+_begin_fstest shutdown auto log metadata recoveryloop soak
# Override the default cleanup function.
_cleanup()
@@ -12,7 +12,7 @@
# testing efforts.
#
. ./common/preamble
-_begin_fstest shutdown auto log metadata eio recoveryloop smoketest
+_begin_fstest shutdown auto log metadata eio recoveryloop smoketest soak
# Override the default cleanup function.
_cleanup()
@@ -8,7 +8,7 @@
# bugs in the xattr code.
#
. ./common/preamble
-_begin_fstest auto soak attr long_rw stress smoketest
+_begin_fstest auto soak attr long_rw stress smoketest soak
_cleanup()
{
@@ -12,7 +12,7 @@
# in writeback on the host that cause VM guests to fail to recover.
#
. ./common/preamble
-_begin_fstest shutdown auto log metadata eio recoveryloop
+_begin_fstest shutdown auto log metadata eio recoveryloop soak
_cleanup()
{
@@ -8,7 +8,7 @@
# or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
cd /
@@ -7,7 +7,7 @@
# Race freeze and fsmap for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest auto quick fsmap freeze
+_begin_fstest auto quick fsmap freeze soak
_register_cleanup "_cleanup" BUS
@@ -7,7 +7,7 @@
# Race GETFSMAP and ro remount for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest auto quick fsmap remount
+_begin_fstest auto quick fsmap remount soak
# Override the default cleanup function.
_cleanup()
@@ -8,7 +8,7 @@
# crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
# Override the default cleanup function.
_cleanup()
@@ -8,7 +8,7 @@
# or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
# Override the default cleanup function.
_cleanup()
@@ -8,7 +8,7 @@
# or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
cd /
@@ -7,7 +7,7 @@
# Race fsstress and superblock scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and AGF scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and AGFL scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and AGI scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and data fork scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and attr fork scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and cow fork scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and directory scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# We can't open symlink files directly for scrubbing, so we use xfs_scrub(8).
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -9,7 +9,7 @@
# xfs_scrub(8).
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -7,7 +7,7 @@
# Race fsstress and nlinks scrub for a while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
_scratch_xfs_stress_scrub_cleanup &> /dev/null
@@ -8,7 +8,7 @@
# while to see if we crash or livelock.
#
. ./common/preamble
-_begin_fstest scrub dangerous_fsstress_scrub
+_begin_fstest scrub dangerous_fsstress_scrub soak
_cleanup() {
cd /
Many tests are using SOAK_DURATION but they have not been added to the soak group. We want to have a deterministic way to query which tests are part of the soak group, so to enable test frameworks which use fstests to get an idea when a test may have lapsed the expected amount of time for the test to complete. Of course such a time is subjetive to a test environment and system, however max variables are possible and are used for an initial test run, and later an enhanced test environement can leverage and also use prior known test times with check.time. That is exactly what kdevops uses to determine a timeout. In kdevops we have to maintain a list of static array of tests which uses soak, with this, we shold be able to grow that set dynamically. Tests either use SOAK_DURATION directly or they use the helper loop such as _soak_loop_running(). XFS also uses SOAK_DURATION with helpers such as _scratch_xfs_stress_scrub(). Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> --- tests/generic/019 | 2 +- tests/generic/388 | 2 +- tests/generic/475 | 2 +- tests/generic/642 | 2 +- tests/generic/648 | 2 +- tests/xfs/285 | 2 +- tests/xfs/517 | 2 +- tests/xfs/560 | 2 +- tests/xfs/561 | 2 +- tests/xfs/562 | 2 +- tests/xfs/565 | 2 +- tests/xfs/570 | 2 +- tests/xfs/571 | 2 +- tests/xfs/572 | 2 +- tests/xfs/573 | 2 +- tests/xfs/574 | 2 +- tests/xfs/575 | 2 +- tests/xfs/576 | 2 +- tests/xfs/577 | 2 +- tests/xfs/578 | 2 +- tests/xfs/579 | 2 +- tests/xfs/580 | 2 +- tests/xfs/581 | 2 +- tests/xfs/582 | 2 +- tests/xfs/583 | 2 +- tests/xfs/584 | 2 +- tests/xfs/585 | 2 +- tests/xfs/586 | 2 +- tests/xfs/587 | 2 +- tests/xfs/588 | 2 +- tests/xfs/589 | 2 +- tests/xfs/590 | 2 +- tests/xfs/591 | 2 +- tests/xfs/592 | 2 +- tests/xfs/593 | 2 +- tests/xfs/594 | 2 +- tests/xfs/595 | 2 +- tests/xfs/727 | 2 +- tests/xfs/729 | 2 +- tests/xfs/800 | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-)