Project

General

Profile

Bug #23975

qa: TestVolumeClient.test_lifecycle needs updated for new eviction behavior

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

Status:
Pending Backport
Priority:
Urgent
Category:
Testing
Target version:
Start date:
05/02/2018
Due date:
% 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:

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 fs - Bug #10915: client: hangs on umount if it had an MDS session evicted Resolved 02/19/2015
Copied to fs - Backport #23982: luminous: qa: TestVolumeClient.test_lifecycle needs updated for new eviction behavior Resolved

History

#1 Updated by Patrick Donnelly 11 months ago

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

#2 Updated by Patrick Donnelly 11 months ago

  • Status changed from New to Need Review

#3 Updated by Patrick Donnelly 11 months ago

  • Backport changed from luminous,jewel to luminous

#4 Updated by Patrick Donnelly 11 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 11 months ago

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

Also available in: Atom PDF