Project

General

Profile

Bug #12028

zfs test mdb_001_pos can fail

Added by Jason King 10 months ago. Updated 5 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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-izationClosed2017-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 Progress2019-03-04

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

Actions

History

#1

Updated by Jason King 8 months 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

#2

Updated by Jason King 8 months ago

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

Updated by Jason King 8 months ago

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

Updated by Jason King 8 months ago

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

Updated by Jason King 8 months ago

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

#6

Updated by Jason King 7 months ago

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

Updated by Jason King 7 months ago

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

Updated by Jason King 5 months 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.

#9

Updated by Electric Monk 5 months 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>

Also available in: Atom PDF