Project

General

Profile

Actions

Bug #5649

closed

smbtorture test gets ebusy on kclient umount

Added by Sage Weil almost 11 years ago. Updated almost 8 years ago.

Status:
Can't reproduce
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

2013-07-16T03:46:38.163 INFO:teuthology.orchestra.run.out:success: scan-ioctl
2013-07-16T03:46:38.170 DEBUG:teuthology.parallel:result is None
2013-07-16T03:46:38.170 DEBUG:teuthology.run_tasks:Unwinding manager <contextlib.GeneratorContextManager object at 0x3526290>
2013-07-16T03:46:38.170 INFO:teuthology.task.samba:Stopping smbd processes...
2013-07-16T03:46:38.170 DEBUG:teuthology.task.samba.smbd.0:waiting for process to exit
2013-07-16T03:46:38.211 INFO:teuthology.task.samba.smbd.0:Stopped
2013-07-16T03:46:38.211 DEBUG:teuthology.orchestra.run:Running [10.214.132.14]: "sudo rm -rf /usr/local/samba/etc/smb.conf '/usr/local/samba/private/*' /usr/local/samba/var/run/ /usr/local/samba/var/locks /usr/local/samba/var/lock" 
2013-07-16T03:46:38.294 DEBUG:teuthology.orchestra.run:Running [10.214.132.14]: 'sudo killall -9 smbd'
2013-07-16T03:46:38.353 DEBUG:teuthology.run_tasks:Unwinding manager <contextlib.GeneratorContextManager object at 0x34bf3d0>
2013-07-16T03:46:38.354 INFO:teuthology.task.kclient:Unmounting kernel clients...
2013-07-16T03:46:38.354 DEBUG:teuthology.task.kclient:Unmounting client client.0...
2013-07-16T03:46:38.354 DEBUG:teuthology.orchestra.run:Running [10.214.132.14]: 'sudo umount /home/ubuntu/cephtest/68540/mnt.0'
2013-07-16T03:46:38.397 INFO:teuthology.orchestra.run.err:umount: /home/ubuntu/cephtest/68540/mnt.0: device is busy.
2013-07-16T03:46:38.398 INFO:teuthology.orchestra.run.err:        (In some cases useful info about processes that use
2013-07-16T03:46:38.398 INFO:teuthology.orchestra.run.err:         the device is found by lsof(8) or fuser(1))

job was
ubuntu@teuthology:/a/teuthology-2013-07-16_01:00:58-fs-next-testing-basic/68540$ cat orig.config.yaml 
kernel:
  kdb: true
  sha1: 365b57b1317524bb0cdd15859a224ba1ab58d1d7
machine_type: plana
nuke-on-error: true
overrides:
  admin_socket:
    branch: next
  ceph:
    conf:
      mon:
        debug mon: 20
        debug ms: 20
        debug paxos: 20
      osd:
        osd op thread timeout: 60
    fs: btrfs
    log-whitelist:
    - slow request
    sha1: 39e5a2a406b77fa82e9a78c267b679d49927e3c3
  install:
    ceph:
      sha1: 39e5a2a406b77fa82e9a78c267b679d49927e3c3
  s3tests:
    branch: next
  workunit:
    sha1: 39e5a2a406b77fa82e9a78c267b679d49927e3c3
roles:
- - mon.a
  - mon.b
  - mon.c
  - mds.a
  - osd.0
  - osd.1
- - samba.0
  - client.0
  - client.1
tasks:
- chef: null
- clock.check: null
- install: null
- install:
    extra_packages:
    - samba
    project: samba
- ceph: null
- kclient:
  - client.0
- samba:
    samba.0:
      ceph: '{testdir}/mnt.0'
- pexec:
    client.1:
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.fdpass
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.unlink
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.attr
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.trans2
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.negnowait
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.dir1
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.deny1
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.deny2
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.deny3
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.denydos
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.ntdeny1
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.ntdeny2
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.tcon
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.tcondev
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.vuid
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.rw1
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.open
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.defer_open
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.xcopy
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.rename
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.properties
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.mangle
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.openattr
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.chkpath
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.secleak
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.disconnect
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.samba3error
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.smb
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.bench-readwrite
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.bench-torture
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.scan-pipe_number
    - /usr/local/samba/bin/smbtorture --password=ubuntu //localhost/ceph base.scan-ioctl

Actions #1

Updated by Sage Weil almost 11 years ago

  • Priority changed from High to Urgent

ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-07-17_01:01:03-fs-next-testing-basic/70473

Actions #2

Updated by Zheng Yan almost 11 years ago

I manually ran the test 6 times, but couldn't reproduce the issue. I ran the tests using Fedora's samba4-test package, one VM ran the samba server (Version 4.0.0alpha18), another VM ran smbtorture.

Actions #3

Updated by Greg Farnum almost 11 years ago

Saw this again yesterday, logs at /a/teuthology-2013-07-24_01:01:06-fs-next-testing-basic/80639. I'm updating teuthology to add lsof and fuser output in the samba task and maybe that will turn something up.

Actions #4

Updated by Greg Farnum almost 11 years ago

Also I think we get it with ceph-fuse too. If we're lucky it's not actually a Ceph bug.

Actions #5

Updated by Sage Weil over 10 years ago

  • Status changed from 12 to Resolved
Actions #6

Updated by Tamilarasi muthamizhan over 10 years ago

  • Status changed from Resolved to In Progress

ubuntu@teuthology:/a/teuthology-2013-07-31_01:01:24-fs-next-testing-basic-plana/91313

Actions #7

Updated by Zheng Yan over 10 years ago

kclient bug or test script bug ?

Actions #8

Updated by Ian Colle over 10 years ago

  • Priority changed from Urgent to High
Actions #9

Updated by Sage Weil over 10 years ago

  • Status changed from In Progress to Can't reproduce

hasn't come up in a few weeks.

Actions #10

Updated by Greg Farnum almost 8 years ago

  • Component(FS) kceph added
Actions

Also available in: Atom PDF