Project

General

Profile

Bug #23975

qa: TestVolumeClient.test_lifecycle needs updated for new eviction behavior

Added by Patrick Donnelly almost 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Testing
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2018-05-02T18:06:51.270 INFO:teuthology.orchestra.run.smithi191.stderr:mds_command: 14729, ['session', 'evict', 'auth_name=guest']
2018-05-02T18:06:52.253 INFO:teuthology.orchestra.run.smithi191.stderr:mds_command: complete 0
2018-05-02T18:06:52.254 INFO:teuthology.orchestra.run.smithi191.stderr:evict: joined all
2018-05-02T18:06:52.254 INFO:teuthology.orchestra.run.smithi191.stderr:disconnect
2018-05-02T18:06:52.254 INFO:teuthology.orchestra.run.smithi191.stderr:Disconnecting cephfs...
2018-05-02T18:06:52.269 INFO:tasks.cephfs.fuse_mount.ceph-fuse.guest.smithi191.stderr:2018-05-02 18:06:52.260 7fa6d1648700 -1 client.14771 I was blacklisted at osd epoch 131
2018-05-02T18:06:52.269 INFO:tasks.cephfs.fuse_mount.ceph-fuse.guest.smithi191.stderr:2018-05-02 18:06:52.260 7fa6d1648700 -1 client.14771 remove_session_caps still has dirty|flushing caps on 0x10000000006.head(faked_ino=0 ref=3 ll_ref=1 cap_refs={} open={2=0} mode=100644 size=0/4194304 nlink=1 btime=2018-05-02 18:06:50.441372 mtime=2018-05-02 18:06:50.440565 ctime=2018-05-02 18:06:50.443416 caps=- dirty_caps=Fx objectset[0x10000000006 ts 0/0 objects 0 dirty_or_tx 0] parents=0x10000000002.head["foo"] 0x55adbb815b80)
2018-05-02T18:06:52.270 INFO:teuthology.orchestra.run.smithi191.stderr:Disconnecting cephfs complete
2018-05-02T18:06:52.270 INFO:teuthology.orchestra.run.smithi191.stderr:Disconnecting rados...
2018-05-02T18:06:52.271 INFO:teuthology.orchestra.run.smithi191.stderr:Disconnecting rados complete
2018-05-02T18:06:52.273 INFO:teuthology.orchestra.run.smithi191.stderr:disconnect
2018-05-02T18:06:52.327 INFO:teuthology.orchestra.run.smithi191:Running: "stat --file-system '--printf=%T\n' -- /home/ubuntu/cephtest/mnt.guest.0" 
2018-05-02T18:06:52.336 INFO:tasks.cephfs.fuse_mount.ceph-fuse.guest.smithi191.stderr:2018-05-02 18:06:52.332 7fa6cc43c700 -1 client.14771 Error in getattr on quota root 0x0x10000000002 statfs result may be outdated
2018-05-02T18:06:52.336 INFO:teuthology.orchestra.run.smithi191.stdout:fuseblk
2018-05-02T18:06:52.337 INFO:tasks.cephfs.fuse_mount:ceph-fuse is mounted on /home/ubuntu/cephtest/mnt.guest.0
2018-05-02T18:06:52.337 INFO:teuthology.orchestra.run.smithi191:Running: 'cd /home/ubuntu/cephtest/mnt.guest.0 && sudo dd if=/dev/urandom of=rogue.bin bs=1M conv=fdatasync count=1 seek=0'
2018-05-02T18:06:52.425 INFO:teuthology.orchestra.run.smithi191.stderr:dd: failed to open 'rogue.bin': Cannot send after transport endpoint shutdown
2018-05-02T18:07:02.407 INFO:tasks.cephfs_test_runner:test_lifecycle (tasks.cephfs.test_volume_client.TestVolumeClient) ... FAIL

ceph-fuse now quickly determines it's evicted after the MDS resets the session. The task designed to hang instead returns with a failure immediately. The QA test needs fixed.


Related issues

Related to CephFS - Bug #10915: client: hangs on umount if it had an MDS session evicted Resolved 02/19/2015
Copied to CephFS - Backport #23982: luminous: qa: TestVolumeClient.test_lifecycle needs updated for new eviction behavior Resolved

History

#1 Updated by Patrick Donnelly almost 6 years ago

  • Related to Bug #10915: client: hangs on umount if it had an MDS session evicted added

#2 Updated by Patrick Donnelly almost 6 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Patrick Donnelly almost 6 years ago

  • Backport changed from luminous,jewel to luminous

#4 Updated by Patrick Donnelly almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Nathan Cutler almost 6 years ago

  • Copied to Backport #23982: luminous: qa: TestVolumeClient.test_lifecycle needs updated for new eviction behavior added

#6 Updated by Nathan Cutler over 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".

Also available in: Atom PDF