gluster / samba-integration

Integration tests for Samba and Gluster
GNU General Public License v3.0
3 stars 4 forks source link

smbtorturetests: failure in smb2.deny and smb2.create #241

Open spuiuk opened 1 year ago

spuiuk commented 1 year ago

Failure when testing disperse volumes. This test works fine with replicated volumes.

--Output Start-- Command: /bin/smbtorture --fullname --option=torture:progress=no --option=torture:sharedelay=100000 --option=torture:writetimeupdatedelay=500000 --format=subunit --target=samba3 --user=test1%x //192.168.123.10/gluster-vol-disperse smb2.deny 2>&1|/usr/bin/python3 /root/samba-integration-tests/testcases/smbtorture-test/selftest/filter-subunit --fail-on-empty --prefix='samba3.' --expected-failures=/root/samba-integration-tests/testcases/smbtorture-test/selftest/knownfail --expected-failures=/root/samba-integration-tests/testcases/smbtorture-test/selftest/knownfail.d --flapping=/root/samba-integration-tests/testcases/smbtorture-test/selftest/flapping --flapping=/root/samba-integration-tests/testcases/smbtorture-test/selftest/flapping.d --flapping=/root/samba-integration-tests/testcases/smbtorture-test/selftest/flapping.gluster|/usr/bin/tee -a /tmp/tmp_file_0|/usr/bin/python3 /root/samba-integration-tests/testcases/smbtorture-test/selftest/format-subunit >/dev/null

smbtorture 4.19.0pre1-UNKNOWN Using seed 1674966522 time: 2023-01-29 04:28:42.548444Z progress: 2 test: samba3.smb2.deny.deny1 time: 2023-01-29 04:28:42.549130Z time: 2023-01-29 04:28:44.559541Z successful: samba3.smb2.deny.deny1 test: samba3.smb2.deny.deny2 time: 2023-01-29 04:28:44.559556Z 468: denytest2.exe NTCREATEX_SHARE_ACCESS_READ|NTCREATEX_SHARE_ACCESS_DELETE SEC_FILE_READ_DATA|SEC_FILE_WRITE_DATA NTCREATEX_SHARE_ACCESS_READ|NTCREATEX_SHARE_ACCESS_WRITE|NTCREATEX_SHARE_ACCESS_DELETE SEC_FILE_READ_DATA - (correct=R) time: 2023-01-29 04:28:45.208793Z failure: samba3.smb2.deny.deny2 [ Exception: ../../source4/torture/smb2/deny.c:491: Expression `res == denytable[i].result' failed: Result - did not match deny table R

]

--Output End--

anoopcs9 commented 1 year ago

I don't have the details but we may have to put those tests/subtests which fail consistently into knownfail or flapping list as issue is most likely within GlusterFS layers.

spuiuk commented 1 year ago

Another failure which appears to be linked.

Testing SMB2 Open with multiple connections
waiting for replies
File 0 returned status NT_STATUS_OBJECT_NAME_COLLISION
File 1 returned status NT_STATUS_OK
File 2 returned status NT_STATUS_IO_TIMEOUT
time: 2023-07-03 10:56:25.016255Z
error: samba3.smb2.create.multi [
Exception: Unknown error/failure. Missing torture_fail() or torture_assert_*() call?

]
anoopcs9 commented 1 year ago

Another failure which appears to be linked.

Testing SMB2 Open with multiple connections
waiting for replies
File 0 returned status NT_STATUS_OBJECT_NAME_COLLISION
File 1 returned status NT_STATUS_OK
File 2 returned status NT_STATUS_IO_TIMEOUT
time: 2023-07-03 10:56:25.016255Z
error: samba3.smb2.create.multi [
Exception: Unknown error/failure. Missing torture_fail() or torture_assert_*() call?

]

I see failures with other subtests within smb2.create.