Project

General

Profile

Actions

Bug #12028

closed

zfs test mdb_001_pos can fail

Added by Jason King over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
tests
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The zfs test mdb_001_pos can fail with the following errors:

13:34:20.94 SUCCESS: zpool scrub testpool
13:34:23.34 /opt/zfs-tests/tests/functional/mdb/mdb_001_pos[91]: ffffff0c6cba7000 ::zfs_blkstats -v: not found [No such file or directory]
13:34:23.34 ASSERTION: Verify that the ZFS mdb dcmds and walkers are working as expected.
13:34:23.34 NOTE: Verifying: '::abuf_find 1 2'
13:34:23.34 /opt/zfs-tests/tests/functional/mdb/mdb_001_pos[109]: : cannot open

The first error is trivial -- a missing '\' on the previous line (90).
The second error appears to be due to '$OUTFILE' not being set


Related issues

Related to illumos gate - Bug #8021: ARC buf data scatter-izationClosedDaniel Kimmel2017-03-31

Actions
Related to illumos gate - Bug #8100: 8021 seems to cause random BAD TRAP: type=d (#gp General protection)Closed2017-04-24

Actions
Related to illumos gate - Bug #12279: ::arc_compression_stats generates errorsClosed

Actions
Related to illumos gate - Bug #10501: mdb_001_pos.ksh forgot to set OUTFILEIn ProgressAndrew Stormont2019-03-04

Actions
Related to illumos gate - Bug #10477: mdb_001_pos.ksh blows up because of missing backslashIn ProgressAndrew Stormont2019-03-01

Actions
Actions #1

Updated by Jason King over 3 years ago

This commit appears to be what broke the test:

commit 770499e185d15678ccb0be57ebc626ad18d93383
Author: Dan Kimmel <dan.kimmel@delphix.com>
Date:   Mon Apr 17 15:38:31 2017 -0700

    8021 ARC buf data scatter-ization
    8100 8021 seems to cause random BAD TRAP: type=d (#gp General protection)

However, in addition.. the ::abuf_find dcmd is broken

Actions #2

Updated by Jason King over 3 years ago

  • Related to Bug #8021: ARC buf data scatter-ization added
Actions #3

Updated by Jason King over 3 years ago

  • Related to Bug #8100: 8021 seems to cause random BAD TRAP: type=d (#gp General protection) added
Actions #4

Updated by Jason King over 3 years ago

  • Related to Bug #12279: ::arc_compression_stats generates errors added
Actions #5

Updated by Jason King over 3 years ago

It appears DLPX-41846 fixes this, but was never upstreamed.

Actions #6

Updated by Jason King over 3 years ago

  • Related to Bug #10501: mdb_001_pos.ksh forgot to set OUTFILE added
Actions #7

Updated by Jason King over 3 years ago

  • Related to Bug #10477: mdb_001_pos.ksh blows up because of missing backslash added
Actions #8

Updated by Jason King about 3 years ago

To test, I booted a BE with the fix and re-ran the failing mdb_001_pos test. With the fixes in place, it now passes.

Actions #9

Updated by Electric Monk about 3 years ago

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

git commit b68ab351091d2aea3f72a011f64de12fb05fc833

commit  b68ab351091d2aea3f72a011f64de12fb05fc833
Author: Sara Hartse <sara.hartse@delphix.com>
Date:   2020-05-04T14:56:09.000Z

    12028 zfs test mdb_001_pos can fail
    Portions contributed by: Jason King <jason.king@joyent.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Kody Kantor <kody.kantor@joyent.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF