Bug #18883

qa: failures in samba suite

Added by John Spray over 2 years ago. Updated 6 months ago.

Target version:
Start date:
Due date:
% Done:


3 - minor
Affected Versions:
Samba VFS, qa-suite
Labels (FS):
Pull request ID:


First Samba run in ages:

Let's get this green again.


#1 Updated by Zheng Yan over 2 years ago

all failure have similar errors

2017-02-16T11:40:01.973 11:40:01.968943 7f5dd5404ec0 -1 open: failed to lock pidfile /var/run/ceph/ because another process locked it.
2017-02-16T11:40:01.974[27075]: (33) Numerical argument out of domain
2017-02-16T11:40:01.978 ERROR:teuthology.run_tasks:Saw exception from tasks.

when daemonizing ceph-fuse. the child process failed to lock the pidfile because parent process has already locked it

#2 Updated by John Spray over 2 years ago

Weird, that was supposed to be fixed so that ceph-fuse never tries to create a pidfile:

#3 Updated by John Spray over 2 years ago

Some of them are something different, too:

2017-02-08T20:26:32.007 disconnect with async lock
2017-02-08T20:26:32.019 open/disconnect
2017-02-08T20:26:32.040 disconnect with async lock
2017-02-08T20:26:32.054 open/disconnect
2017-02-08T20:26:32.069 disconnect with async lock
2017-02-08T20:26:32.082 open/disconnect
2017-02-08T20:26:32.096 disconnect with async lock
2017-02-08T20:26:32.108 open/disconnect
2017-02-08T20:26:32.123 disconnect with async lock
2017-02-08T20:26:32.137 open/disconnect
2017-02-08T20:26:32.150 disconnect with async lock
2017-02-08T20:26:32.166 open/disconnect
2017-02-08T20:26:32.180 disconnect with async lock
2017-02-08T20:26:32.191 open/disconnect
2017-02-08T20:26:32.206 disconnect with async lock
2017-02-08T20:26:32.219 open/disconnect
2017-02-08T20:26:32.231 disconnect with async lock
2017-02-08T20:26:32.243 open/disconnect
2017-02-08T20:26:32.258 disconnect with async lock
2017-02-08T20:26:32.269 open/disconnect
2017-02-08T20:26:32.305 2017-02-08 20:26:32.306535
2017-02-08T20:26:32.305 disconnect
2017-02-08T20:26:32.352 4.7.0pre1-GIT-ce9b72c
2017-02-08T20:26:32.356 seed 1486585592
2017-02-08T20:26:32.357 2017-02-08 20:26:32.358843
2017-02-08T20:26:32.357 samba3error
2017-02-08T20:26:32.357 2017-02-08 20:26:32.358984
2017-02-08T20:26:32.373 to open connection - ERRDOS:ERRnoaccess
2017-02-08T20:26:32.373 2017-02-08 20:26:32.374963
2017-02-08T20:26:32.373 samba3error [
2017-02-08T20:26:32.373 error/failure. Missing torture_fail() or torture_assert_*() call?

#4 Updated by John Spray over 2 years ago

The weird "failed to lock pidfile" ones are all with the "mount/native.yaml" fragment

#5 Updated by John Spray over 2 years ago

Testing fix for the fuse thing here:

Haven't looked into the smbtorture failure yet.

#6 Updated by Zheng Yan over 2 years ago

fix for the ceph-fuse bug:

#7 Updated by John Spray over 2 years ago

Latest run:

Now we're seeing this:

2017-02-20T12:55:40.307 'sudo mount -t cifs // -o username=ubuntu,password=ubuntu /home/ubuntu/cephtest/mnt.1'
2017-02-20T12:55:40.630 // is not a valid block device

Firewall issue perhaps?

I presume the "failed to decode message of type 42 v4: buffer::malformed_input: void spg_t::decode(ceph::buffer::list::iterator&) unknown encoding version > 1" is probably some unrelated kclient or protocol breakage.

#8 Updated by Zheng Yan over 2 years ago

  • Status changed from New to Verified
[2017/02/27 09:11:27.919688,  0] ../lib/util/modules.c:48(load_module)
  Error loading module '/usr/local/samba/lib/vfs/': cannot open shared object file: No such file or directory
[2017/02/27 09:11:27.919781,  0] ../source3/smbd/vfs.c:184(vfs_init_custom)
  error probing vfs module 'ceph': NT_STATUS_UNSUCCESSFUL

If I create manually

[2017/02/27 09:22:52.645290,  0] ../lib/util/modules.c:48(load_module)
  Error loading module '/usr/local/samba/lib/vfs/': /usr/local/samba/lib/vfs/ undefined symbol: ceph_lstat
[2017/02/27 09:22:52.645375,  0] ../source3/smbd/vfs.c:184(vfs_init_custom)
  error probing vfs module 'ceph': NT_STATUS_UNSUCCESSFUL

looks like samba package is not linked to libcephfs2

#9 Updated by John Spray over 2 years ago

Which packages were you seeing the linkage issue on? The centos ones?

#10 Updated by Zheng Yan over 2 years ago

both ubuntu and centos samba packages have no dependency to libcephfs. It works when there happen to be libcephfs1.

#11 Updated by Zheng Yan over 2 years ago

open ticket for samba build

#12 Updated by Patrick Donnelly over 1 year ago

  • Subject changed from Failures in samba suite to qa: failures in samba suite
  • Category changed from 43 to Testing
  • Priority changed from Normal to Low
  • Target version changed from v12.0.0 to v14.0.0
  • Source set to Development
  • Tags set to samba,qa
  • Component(FS) Samba VFS, qa-suite added

#13 Updated by Patrick Donnelly 6 months ago

  • Target version changed from v14.0.0 to v15.0.0

#14 Updated by Patrick Donnelly 6 months ago

  • Target version deleted (v15.0.0)

Also available in: Atom PDF