Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CephFS.mgr(vfs): Failures in smb2 sharemode, rename, deny, lock and rw test suites #90

Open
Shwetha-Acharya opened this issue Aug 22, 2024 · 2 comments

Comments

@Shwetha-Acharya
Copy link
Collaborator

There are some unrelated failures in #82:

cephfs.mgr.vfs:

failure: samba3.smb2.deny.deny2 [
Exception: ../../source4/torture/smb2/deny.c:486: Expression `res == denytable[i].result' failed: Result RW did not match deny table -]

gpfs.scale:

failure: samba3.smb2.lock.replay_smb3_specification_durable [
Exception: ../../source4/torture/smb2/lock.c:3206: io.out.durable_open was 0 (0x0), expected 1 (0x1): (../../source4/torture/smb2/lock.c:3206)]

gpfs.vfs:

failure: samba3.smb2.lock.replay_smb3_specification_durable [
Exception: ../../source4/torture/smb2/lock.c:3206: io.out.durable_open was 0 (0x0), expected 1 (0x1): (../../source4/torture/smb2/lock.c:3206)]

@anoopcs9
Copy link
Collaborator

There are some unrelated failures in #82:

cephfs.mgr.vfs:

failure: samba3.smb2.deny.deny2 [ Exception: ../../source4/torture/smb2/deny.c:486: Expression `res == denytable[i].result' failed: Result RW did not match deny table -]

There are other failures mostly leading to a common pattern and is currently under investigation(mostly by me).

We have been noticing these failures as soon as we started running the full test-suite against shares configured by ceph smb mgr module. It's just that I didn't manage to file an issue officially. Thanks for creating an umbrella tracker.

gpfs.scale:

failure: samba3.smb2.lock.replay_smb3_specification_durable [ Exception: ../../source4/torture/smb2/lock.c:3206: io.out.durable_open was 0 (0x0), expected 1 (0x1): (../../source4/torture/smb2/lock.c:3206)]

gpfs.vfs:

failure: samba3.smb2.lock.replay_smb3_specification_durable [ Exception: ../../source4/torture/smb2/lock.c:3206: io.out.durable_open was 0 (0x0), expected 1 (0x1): (../../source4/torture/smb2/lock.c:3206)]

We've had more failures with GPFS related tests for a while and never bothered to try looking into it. I can only expect them to be untouched for a while.

@anoopcs9 anoopcs9 changed the title Failures in gpfs.vfs, gpfs.scale and cephfs.mgr.vfs CephFS(mgr): Failures in subtests for smb2 sharemode, rename, deny, lock and rw test suites Aug 27, 2024
@anoopcs9 anoopcs9 changed the title CephFS(mgr): Failures in subtests for smb2 sharemode, rename, deny, lock and rw test suites CephFS(mgr): Failures in smb2 sharemode, rename, deny, lock and rw test suites Aug 27, 2024
@anoopcs9
Copy link
Collaborator

smb2.sharemode

test: samba3.smb2.sharemode.sharemode-access
time: 2024-08-27 02:29:47.157429Z
index 0, sharemode R, access mask 0x000001
index 1, sharemode R, access mask 0x000002
time: 2024-08-27 02:29:47.345800Z
failure: samba3.smb2.sharemode.sharemode-access [
Exception: ../../source4/torture/smb2/sharemode.c:524: status was NT_STATUS_OK, expected NT_STATUS_SHARING_VIOLATION: Unexpected status on second create.
]
test: samba3.smb2.sharemode.access-sharemode
time: 2024-08-27 02:29:47.345840Z
index 0, access mask 0x000001, sharemode R
index 1, access mask 0x000002, sharemode R
time: 2024-08-27 02:29:47.528613Z
failure: samba3.smb2.sharemode.access-sharemode [
Exception: ../../source4/torture/smb2/sharemode.c:606: status was NT_STATUS_OK, expected NT_STATUS_SHARING_VIOLATION: Unexpected status on second create.
]

smb2.rename

test: samba3.smb2.rename.close-full-information
time: 2024-08-27 02:30:12.461403Z
time: 2024-08-27 02:30:12.630714Z
failure: samba3.smb2.rename.close-full-information [
Exception: (../../source4/torture/smb2/rename.c:1654) Incorrect status NT_STATUS_NOT_FOUND - should be NT_STATUS_OK
]

smb2.deny

test: samba3.smb2.deny.deny2
time: 2024-08-27 02:30:15.733230Z
31: denytest2.exe NTCREATEX_SHARE_ACCESS_NONE SEC_FILE_READ_DATA|SEC_FILE_WRITE_DATA NTCREATEX_SHARE_ACCESS_NONE SEC_FILE_READ_DATA|SEC_FILE_WRITE_DATA RW (correct=-)
time: 2024-08-27 02:30:15.951926Z
failure: samba3.smb2.deny.deny2 [
Exception: ../../source4/torture/smb2/deny.c:486: Expression `res == denytable[i].result' failed: Result RW did not match deny table -
]

smb2.lock

test: samba3.smb2.lock.overlap
time: 2024-08-27 02:30:18.237972Z
Testing overlapping locks:
the same session/handle cannot set overlapping exclusive locks
the same session/handle can set overlapping shared locks
** a different session can set overlapping exclusive locks
a different session can set overlapping shared locks
a different handle cannot set overlapping exclusive locks
a different handle can set overlapping shared locks
the same handle cannot coalesce read locks
the server doesn't have the NT byte range lock bug
time: 2024-08-27 02:30:18.489324Z
failure: samba3.smb2.lock.overlap [
Exception: ../../source4/torture/smb2/lock.c:2732: subtest failed
]

smb2.rw

test: samba3.smb2.rw.rw1
time: 2024-08-27 02:30:52.531417Z
Checking data integrity over 10 ops
time: 2024-08-27 02:30:52.774210Z
failure: samba3.smb2.rw.rw1 [
Exception: ../../source4/torture/smb2/read_write.c:136: status was NT_STATUS_NOT_FOUND, expected NT_STATUS_OK: close failed (NT_STATUS_NOT_FOUND)
]

Above failures are not seen with shares(using vfs_ceph) setup outside ceph smb mgr module.

@anoopcs9 anoopcs9 changed the title CephFS(mgr): Failures in smb2 sharemode, rename, deny, lock and rw test suites CephFS.mgr(vfs): Failures in smb2 sharemode, rename, deny, lock and rw test suites Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants