Add removal_resume_export to zts-report.py

Add the removal_resume_export test case to the possible failure
section of the zts-report.py and reference the Github issue.  In
the CI environment this test has proven to be unreliable due to
the way it detects the removal thread.  This is a flaw in the test
and not device removal so update the result summary accordingly.

Additionally, increase the allowed timeout in an effort to reduce
the observed rate of false positves.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7895
Issue #7894
This commit is contained in:
Brian Behlendorf 2018-09-13 13:35:09 -07:00 committed by GitHub
parent 733b5722b4
commit 92b432139d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -256,6 +256,7 @@ maybe = {
'no_space/enospc_002_pos': ['FAIL', enospc_reason], 'no_space/enospc_002_pos': ['FAIL', enospc_reason],
'projectquota/setup': ['SKIP', exec_reason], 'projectquota/setup': ['SKIP', exec_reason],
'redundancy/redundancy_004_neg': ['FAIL', '7290'], 'redundancy/redundancy_004_neg': ['FAIL', '7290'],
'removal/removal_resume_export': ['FAIL', '7894'],
'reservation/reservation_008_pos': ['FAIL', '7741'], 'reservation/reservation_008_pos': ['FAIL', '7741'],
'reservation/reservation_018_pos': ['FAIL', '5642'], 'reservation/reservation_018_pos': ['FAIL', '5642'],
'rsend/rsend_019_pos': ['FAIL', '6086'], 'rsend/rsend_019_pos': ['FAIL', '6086'],

View File

@ -53,7 +53,7 @@ function ensure_thread_running # spa_address
if is_linux; then if is_linux; then
typeset TRIES=0 typeset TRIES=0
typeset THREAD_PID typeset THREAD_PID
while [[ $TRIES -lt 10 ]]; do while [[ $TRIES -lt 50 ]]; do
THREAD_PID=$(pgrep spa_vdev_remove) THREAD_PID=$(pgrep spa_vdev_remove)
[[ "$THREAD_PID" ]] && break [[ "$THREAD_PID" ]] && break
sleep 0.1 sleep 0.1