Project

General

Profile

Actions

Fix #38801

closed

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

Added by Patrick Donnelly about 5 years ago. Updated almost 4 years ago.

Status:
Resolved
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 (v1):
Crash signature (v2):

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 4 (0 open4 closed)

Has duplicate CephFS - Bug #43540: qa: test_export_pin (tasks.cephfs.test_exports.TestExports) failureDuplicate

Actions
Copied to CephFS - Backport #43000: luminous: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel clientRejectedActions
Copied to CephFS - Backport #43001: nautilus: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel clientResolvedNathan CutlerActions
Copied to CephFS - Backport #43002: mimic: qa: ignore "ceph.dir.pin: No such attribute" for (old) kernel clientRejectedActions
Actions #1

Updated by Sidharth Anupkrishnan almost 5 years ago

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

Updated by Patrick Donnelly over 4 years ago

  • Status changed from Fix Under Review to Pending Backport

Whoops, forgot to move this.

Actions #3

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

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

Updated by Patrick Donnelly over 4 years ago

  • Has duplicate Bug #43540: qa: test_export_pin (tasks.cephfs.test_exports.TestExports) failure added
Actions #7

Updated by Nathan Cutler almost 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF