[LU-17265] sanity test_39r: atime on client 1699192823 != ost 0x65479ff6 Created: 06/Nov/23 Updated: 20/Dec/23 Resolved: 29/Nov/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
This issue was created by maloo for Arshad <arshad.hussain@aeoncomputing.com> This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/873c927b-d963-40fa-830f-f3caea45a955 test_39r failed with the following error: atime on client 1699192823 != ost 0x65479ff6 Test session details: <<Please provide additional information about the failure here>> VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV |
| Comments |
| Comment by Arshad Hussain [ 06/Nov/23 ] |
|
atime on client 1699192823 != ost 0x65479ff6 Two obervations here:
|
| Comment by Andreas Dilger [ 07/Nov/23 ] |
|
The comparisons are done within "$((...))" so there is hex-to-decimal conversion, but it is a bit confusing in the error message. Lustre should never be using the server timestamps when storing attributes on the servers. That avoids problems like NFS where the client gets tons of errors during a build when the client and server have different timestamps. That said, it seems possible that there is a race between when the client is sending the read RPCs for "dd" and when the client VFS updates the attributes on the local inode. We do not send another RPC to the OST to update the timestamps, so it might be a second outdated, but shouldn't be 10s outdated (ie. didn't get updated at all). So it seems the test should be lenient for a 1s (or 2s?) difference in the timestamps, and that will still achieve the goals of the test. |
| Comment by Andreas Dilger [ 07/Nov/23 ] |
|
Arshad, any chance you can push a fix for this, it should just be a one-line test script fix. |
| Comment by Arshad Hussain [ 08/Nov/23 ] |
|
Sure. I have assigned it to my name and thanks for explaination on the problem. |
| Comment by Gerrit Updater [ 08/Nov/23 ] |
|
"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53035 |
| Comment by Gerrit Updater [ 29/Nov/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53035/ |
| Comment by Peter Jones [ 29/Nov/23 ] |
|
Landed for 2.16 |