[LU-12105] sanity test 39c fails with ''mtime is not updated on write: N <= (N - 1) <= N Created: 25/Mar/19 Updated: 15/Nov/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0, Lustre 2.13.0, Lustre 2.10.6, Lustre 2.10.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
sanity test_39c fails with ''mtime is not updated on write: N <= (N - 1) <= N Looking at a recent failure, https://testing.whamcloud.com/test_sets/d93121ee-4dac-11e9-8e92-52540065bddc, the suite_log doesn’t reveal much about the error == sanity test 39c: mtime change on rename =========================================================== 10:08:14 (1553274494) sanity test_39c: @@@@@@ FAIL: mtime is not updated on write: 1553274497 <= 1553274496 <= 1553274497 There are no errors in any of the console logs for this test. The code that is failing in sanity test 39c is 3474 local d1=`date +%s` 3475 echo hello >> $DIR1/$tfile 3476 local d2=`date +%s` 3477 local mtime2=`stat -c %Y $DIR1/$tfile` 3478 [ "$mtime2" -ge "$d1" ] && [ "$mtime2" -le "$d2" ] || \ 3479 error "mtime is not updated on write: $d1 <= $mtime2 <= $d2" Although the check may be a little confusing, I think an error will be triggered if either of the tests are false and, thus, is correct. For all of these errors, d2 = d1 and mtime of the file is one less than d1. sanity test 39c start failing for ARM testing on 31 OCT 2018. Here are a logs for a few failures This test has also failed for a small variety of other test configurations. All of the non-ARM failures to date are as follows: |
| Comments |
| Comment by Alex Zhuravlev [ 27/Aug/19 ] |
|
hitting this very often with clean master: |
| Comment by Chris Horn [ 07/May/20 ] |
|
+1 on master https://testing.whamcloud.com/test_sets/c550dfdb-e952-4787-9ff5-6e251fb588d8 |