-
Notifications
You must be signed in to change notification settings - Fork 211
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
Possible issue with test case: SmbdDataTransfer_VariableLengthSegment #206
Comments
Similar behaviour is observed with following test cases as well: Similar test case BVT_SmbdDataTransfer_Basic_SendSmallBytesOfData does pass without any issue. |
Hi vinitagnihotri, Thanks for reporting this issue! Observing from your captures, your server should have replied a normal SMB2 WRITE response while test suites missed it so the test case failed due to time out. Could you please set the RdmaLayerLoggingEnabled to true in 'Configure Test Cases' tab of PTM and run those failed test cases again? This step will enable the RDMA layer log output so we could have a chance to figure out whether test cases received the response or not. There should be some log lines similar to below near the end,
If receiving a request of buffer length 80 then it should be an SMB2 WRITE response. Attaching the full log will be helpful for us to diagnose. Best Regards, Windows Protocol Test Suites Development Team |
SmbdDataTransfer_VariableLengthSegment.txt Please find requested log file attached. Thanks. |
Hi vinitagnihotri, Thanks for attaching the log. Actually test suites code could handle data transfer message which only grants credits without data. I guess the issue might be test suites failed when receiving the SMB2 write response. The In ValidateWriteResponse() of SmbdDataTransfer.cs,
Could you try to modify the previous code as below, build and run those case again?
If the receiving failed, test cases will output the NTSTATUS value in log. Best Regards, Windows Protocol Test Suites Development Team |
Hi vinitagnihotri, The fix is available on staging by commit adfd89a. Here I attach a signed build with fix MS-SMBD-TestSuite-ServerEP.zip. Could you please try this build and re-run these cases? If these tests fail at bottom layer (NetDirect driver), Best Regards, Windows Protocol Test Suites Development Team |
Hi vinitagnihotri, Since this thread has been inactive for a long time, we close it for now. Feel free to reopen it if the problem remains. Windows Protocol Test Suites Development Team |
Is this fixed in 3.19.9.0? As we still could not see this case passing at our end. |
We are testing SMBD test suite for our SMBD capable server running in centos environment.
While running this test case, test case sends out write request and waits for write response,
our server sends out valid response yet test suite seems not to go further resulting into timeout and thus marks it as failed.
Error message:
We have captured packets using netmon and analysed in message analyser, to find we do receive correct request and client does receives valid response.
We are attaching image for dump for reference. Our server is 192.168.2.1 and client is 192.168.2.2 (Windows 2012 R2) We are using MSFT file sharing test suite for MS-SMBD 3.18.6.0
msg number: 50 indicates SMB write request with 65424 bytes of data (FF90h) (msg_50.png)
msg number: 1920 indicated response from our server with count as 65424 (FF90h) *msg_1920.png)
Black underline indicates command id and length, purple underline indicates request and response flags (08-09) respctively.
![msg_50](https://user-images.githubusercontent.com/54569394/66631779-99832f80-ec24-11e9-8db7-b2d383c5ed25.png)
![msg_1920](https://user-images.githubusercontent.com/54569394/66631780-99832f80-ec24-11e9-93b5-e106f020a027.png)
The text was updated successfully, but these errors were encountered: