Bug 11176 - samba3.smb2.ioctl sparse file unit test failures
samba3.smb2.ioctl sparse file unit test failures
Status: ASSIGNED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
unspecified
All All
: P5 normal
: ---
Assigned To: David Disseldorp
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-20 10:23 UTC by David Disseldorp
Modified: 2015-04-14 03:32 UTC (History)
1 user (show)

See Also:


Attachments
subunit file from ubuntu 12.04 (89.99 KB, application/x-xz)
2015-04-14 03:32 UTC, Andrew Bartlett
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Disseldorp 2015-03-20 10:23:51 UTC
Andrew Bartlett reported the following unit test failures:

I get it in the Catalyst Cloud when running make test on git master, building on
Ubuntu 12.04.  We only see it there, and not on 14.04.  We are backed by
Ceph RBD volumes, if that helps. 

[1(0)/3 at 0s] samba3.smb2.ioctl fs_specific(nt4_dc)
UNEXPECTED(failure): samba3.smb2.ioctl fs_specific.sparse_punch(nt4_dc)
REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:3308:
far_count was 1 (0x1), expected 0 (0x0): unexpected response len
UNEXPECTED(failure): samba3.smb2.ioctl
fs_specific.sparse_qar_ob1(nt4_dc)
REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:4477:
far_rsp[0].len was 65537 (0x10001), expected 65536 (0x10000): unexpected
far len
envlog: SMBD LOG of: LOCALNT4DC2

[2(34)/3 at 11s, 1 errors] samba3.smb2.ioctl(nt4_dc)
UNEXPECTED(failure): samba3.smb2.ioctl.sparse_punch(nt4_dc)
REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:3308:
far_count was 1 (0x1), expected 0 (0x0): unexpected response len
UNEXPECTED(failure): samba3.smb2.ioctl.sparse_qar_ob1(nt4_dc)
REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:4477:
far_rsp[0].len was 65537 (0x10001), expected 65536 (0x10000): unexpected
far len
Comment 1 David Disseldorp 2015-03-20 11:23:36 UTC
@Andrew, can you confirm that you see "strange, this FS never deallocates zeroed ranges in sparse files" in your selftest subunit output?
Comment 2 Jim McDonough 2015-03-25 14:26:56 UTC
on opensuse 13.1 I'm seeing:

test: samba3.smb2.ioctl.sparse_qar_ob1(ad_dc)
time: 2015-03-25 07:46:59.881086Z
time: 2015-03-25 07:47:00.082730Z
failure: samba3.smb2.ioctl.sparse_qar_ob1(ad_dc) [
Exception: Exception: ../source4/torture/smb2/ioctl.c:4500: status was NT_STATUS_OBJECT_NAME_COLLISION, expe
cted NT_STATUS_OK: FSCTL_QUERY_ALLOCATED_RANGES req failed


]
Comment 3 Andrew Bartlett 2015-04-14 03:32:52 UTC
Created attachment 10949 [details]
subunit file from ubuntu 12.04

(In reply to David Disseldorp from comment #1)
No, I don't see "strange, this FS never deallocates zeroed ranges in sparse files" in the subunit.