Project

General

Profile

Fix #38801

qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client

Added by Patrick Donnelly 11 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
High
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus,mimic,luminous
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
qa, task(easy)
Pull request ID:
Crash signature:

Description

The issue is that getxattr support for "ceph.dir.pin" is not yet backported to RHEL. We want to ignore these spurious failures while we're still testing the older kernel client without the backport.

Failure: Test failure: test_export_pin (tasks.cephfs.test_exports.TestExports)
10 jobs: ['3731253', '3730866', '3730952', '3730909', '3730995', '3731167', '3731124', '3731038', '3731081', '3731210']
suites intersection: ['conf/{client.yaml', 'fuse-default-perm-no.yaml}', 'mds.yaml', 'mon.yaml', 'mount/kclient/{mount.yaml', 'ms-die-on-skipped.yaml}}', 'multimds/basic/{begin.yaml', 'osd.yaml}', 'overrides/{basic/{frag_enable.yaml', 'overrides/{distro/rhel/{k-distro.yaml', 'q_check_counter/check_counter.yaml', 'rhel_7.6.yaml}', 'tasks/cephfs_test_exports.yaml}', 'whitelist_health.yaml', 'whitelist_wrongly_marked_down.yaml}']
suites union: ['clusters/3-mds.yaml', 'clusters/9-mds.yaml', 'conf/{client.yaml', 'fuse-default-perm-no.yaml}', 'inline/no.yaml', 'inline/yes.yaml', 'mds.yaml', 'mon.yaml', 'mount/kclient/{mount.yaml', 'ms-die-on-skipped.yaml}}', 'multimds/basic/{begin.yaml', 'objectstore-ec/bluestore-bitmap.yaml', 'objectstore-ec/bluestore-comp-ec-root.yaml', 'objectstore-ec/bluestore-comp.yaml', 'objectstore-ec/bluestore-ec-root.yaml', 'objectstore-ec/filestore-xfs.yaml', 'osd.yaml}', 'overrides/{basic/{frag_enable.yaml', 'overrides/{distro/rhel/{k-distro.yaml', 'q_check_counter/check_counter.yaml', 'rhel_7.6.yaml}', 'tasks/cephfs_test_exports.yaml}', 'whitelist_health.yaml', 'whitelist_wrongly_marked_down.yaml}']

From: /ceph/teuthology-archive/pdonnell-2019-03-16_00:19:15-multimds-wip-pdonnell-testing-20190315.213331-distro-basic-smithi/

For example:

2019-03-17T17:17:04.110 INFO:teuthology.orchestra.run.smithi185:Running:
2019-03-17T17:17:04.110 INFO:teuthology.orchestra.run.smithi185:> cd /home/ubuntu/cephtest/mnt.0 && sudo getfattr --only-values -n ceph.dir.pin 1
2019-03-17T17:17:04.170 INFO:teuthology.orchestra.run.smithi185.stderr:1: ceph.dir.pin: No such attribute
2019-03-17T17:17:04.171 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-03-17T17:17:04.174 INFO:tasks.cephfs_test_runner:test_export_pin (tasks.cephfs.test_exports.TestExports) ... FAIL

To ignore this correctly, check that (a) the kclient is in use, (b) the kernel is older than 5.0, and (c) that the error is "No such attribute". Use:

from unittest import SkipTest
...
            raise SkipTest("Require FUSE client")

To skip the test in this case.


Related issues

Duplicated by fs - Bug #43540: qa: test_export_pin (tasks.cephfs.test_exports.TestExports) failure Duplicate
Copied to fs - Backport #43000: luminous: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client New
Copied to fs - Backport #43001: nautilus: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client Resolved
Copied to fs - Backport #43002: mimic: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client New

History

#1 Updated by Sidharth Anupkrishnan 10 months ago

  • Status changed from 12 to Fix Under Review
  • Pull request ID set to 27377

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from Fix Under Review to Pending Backport

Whoops, forgot to move this.

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #43000: luminous: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client added

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #43001: nautilus: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #43002: mimic: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel client added

#6 Updated by Patrick Donnelly about 1 month ago

  • Duplicated by Bug #43540: qa: test_export_pin (tasks.cephfs.test_exports.TestExports) failure added

Also available in: Atom PDF