Project

General

Profile

Bug #6248

zpool_create_008_pos and zpool_create_009_neg can fail intermittently

Added by Matthew Ahrens about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2015-09-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Both these tests fail from time to time with similar signatures.
Test_Case_Start| 3227 tests/functional/cli_root/zpool_create/zpool_create_009_neg | 18:01:03 3373925061913 0 |
stdout| 18:01:03 ASSERTION: Create a pool with same devices twice or create two pools with same devices, 'zpool create' should fail.
stdout| 18:01:04 SUCCESS: /usr/sbin/zpool destroy -f testpool.8377
stdout| 18:01:05 SUCCESS: /usr/sbin/zpool create -f testpool.8377 c2t3d0
stdout| 18:01:05 SUCCESS: /usr/sbin/zpool create -f testpool1.8377 c2t3d0 exited 1
stdout| 18:01:05 SUCCESS: /usr/sbin/zpool destroy -f testpool.8377
stdout| 18:01:06 SUCCESS: /usr/sbin/zpool create -f testpool.8377 c2t3d0
stdout| 18:01:07 SUCCESS: /usr/sbin/zpool create -f testpool1.8377 c2t3d0 c2t2d0 c2t1d0 exited 1
stdout| 18:01:07 ERROR: /usr/sbin/zpool destroy -f testpool.8377 exited 1
stderr| cannot destroy 'testpool.8377': pool is busy
stdout| 18:01:07 NOTE: Performing local cleanup via log_onexit (cleanup)
stdout| 18:01:07 ERROR: /usr/sbin/zpool destroy -f testpool.8377 exited 1
stderr| cannot destroy 'testpool.8377': pool is busy
Test_Case_End| 3227 tests/functional/cli_root/zpool_create/zpool_create_009_neg | FAIL | 18:01:07 3377685891532 0 |

analysis:

  1. At times, syseventd activity can cause attempts to # destroy a pool to fail with EBUSY. We retry a few # times allowing failures before requiring the destroy # to succeed.

History

#1

Updated by Electric Monk about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 999dc7aa56a6d16b1b0b88d246545be69aae9a4b

commit  999dc7aa56a6d16b1b0b88d246545be69aae9a4b
Author: John Wren Kennedy <john.kennedy@delphix.com>
Date:   2015-10-03T21:32:36.000Z

    6248 zpool_create_008_pos and zpool_create_009_neg can fail intermittently
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: George Wilson <george.wilson@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF