Project

General

Profile

Actions

Bug #15506

closed

zfs and zpool tests can fail because of core size limit

Added by Toomas Soome 2 months ago. Updated 2 months ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

While investigating zfs test zfs_002_pos failure, I found the core file creation fails with EFBIG, and that happens when the core size limit is set. And indeed, the limit was set to 0.

With limit removed, the test is ok:

tsoome@test:/var/tmp/test_results$ /opt/zfs-tests/bin/zfstest -T zfs,zpool
Test: /opt/zfs-tests/tests/functional/cli_root/zfs/setup (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg (run as root) [00:01] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos (run as root) [00:06] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zfs/cleanup (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool/setup (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos (run as root) [00:09] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos (run as root) [00:00] [PASS]
Test: /opt/zfs-tests/tests/functional/cli_root/zpool/cleanup (run as root) [00:00] [PASS]

Results Summary
PASS      10

Running Time:   00:00:20
Percent passed: 100.0%
Log directory:  /var/tmp/test_results/20230322T151100
tsoome@test:/var/tmp/test_results$
Actions #1

Updated by Electric Monk 2 months ago

  • Gerrit CR set to 2735
Actions #2

Updated by Toomas Soome 2 months ago

  • Subject changed from zfs_002_pos can fail because of core size limit to zfs and zpool tests can fail because of core size limit
  • Description updated (diff)
Actions #3

Updated by Toomas Soome 2 months ago

  • Status changed from In Progress to Pending RTI
Actions #4

Updated by Electric Monk 2 months ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 79492562b32b5e6bc03e14ad2b51f986335f3709

commit  79492562b32b5e6bc03e14ad2b51f986335f3709
Author: Toomas Soome <tsoome@me.com>
Date:   2023-03-22T22:31:59.000Z

    15506 zfs and zpool tests can fail because of core size limit
    Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com>
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF