[LU-13665] master-2.12 interop: sanity multiple failures Created: 11/Jun/20  Updated: 28/Aug/23  Resolved: 28/Aug/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Sebastien Buisson Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13238 add OFD layer object access logs Resolved
is related to LU-12984 Add --newerXY support for lfs find Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

As seen in test results https://testing.whamcloud.com/test_sets/1be26bdf-547b-42f4-a478-fb25c7ef5b75 of patch https://review.whamcloud.com/38897, interop testing of master client vs 2.12 server reveals a number of failures in sanity:

  • test_56oc Error: ''/usr/bin/lfs find /mnt/lustre/d56oc.sanity -newerbt 2020-06-11 10:18:07' wrong: found 0, expected 16'
  • test_56od Error: ''/usr/bin/lfs find /mnt/lustre/d56od.sanity -newerbb /mnt/lustre/f56od.sanity.ref ! -newerbb /mnt/lustre/f56od.sanity.negref -type f' wrong: found 14, expected 12'
  • test_165a Error: 'alr_log_add event count was '0', expected 1'
  • test_165b Error: 'alr_log_entry event count was '0', expected 1'
  • test_165d Error: 'bad entry count, got , expected 1'


 Comments   
Comment by Andreas Dilger [ 11/Sep/20 ]

I think the test_56oc failures are because the 2.12.x server does not support "birth time", added in patch https://review.whamcloud.com/36674 "LU-10934 llite: integrate statx() API with Lustre" (commit v2_13_53-221-g3f7853b)). They should just be skipped for MDS releases before 2.13.54.

Similarly, the test_165 failures are because of new OST functionality landed in patch https://review.whamcloud.com/37552 "LU-13238 ofd: add OFD access logs" (commit v2_13_53-117-g66172e3) and should also be skipped for OSS releases before 2.13.54.

Comment by Gerrit Updater [ 11/Sep/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39890
Subject: LU-13665 tests: skip sanity subtests for new features
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a4b5b5533bbb94b9a17f6da90c8d65108739b1dc

Comment by Andreas Dilger [ 26/Oct/20 ]

The sanity.sh test_56oc is still failing regularly on SLES12 and SLES15 clients:

before = "2020-10-15 23:01:07"
striped dir -i0 -c1 -H crush /mnt/lustre/d56oc.sanity
striped dir -i0 -c1 -H all_char /mnt/lustre/d56oc.sanity/dir1
striped dir -i0 -c1 -H all_char /mnt/lustre/d56oc.sanity/dir2
striped dir -i0 -c1 -H fnv_1a_64 /mnt/lustre/d56oc.sanity/dir3
after = "2020-10-15 23:01:11"
/mnt/lustre/d56oc.sanity:
total 20
drwxr-xr-x 5 root root 4096 2020-10-15 23:01:09.000000000 -0400 .
drwxr-xr-x 4 root root 4096 2020-10-15 22:59:35.000000000 -0400 ..
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 dir1
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 dir2
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 dir3
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file1
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file2
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file3

/mnt/lustre/d56oc.sanity/dir1:
total 8
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 .
drwxr-xr-x 5 root root 4096 2020-10-15 23:01:09.000000000 -0400 ..
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file1
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file2
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file3

/mnt/lustre/d56oc.sanity/dir2:
total 8
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 .
drwxr-xr-x 5 root root 4096 2020-10-15 23:01:09.000000000 -0400 ..
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file1
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file2
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file3

/mnt/lustre/d56oc.sanity/dir3:
total 8
drwxr-xr-x 2 root root 4096 2020-10-15 23:01:09.000000000 -0400 .
drwxr-xr-x 5 root root 4096 2020-10-15 23:01:09.000000000 -0400 ..
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file1
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file2
-rw-r--r-- 1 root root    0 2020-10-15 23:01:09.000000000 -0400 file3
 sanity test_56oc: @@@@@@ FAIL: 'lfs find /mnt/lustre/d56oc.sanity -newerat "2020-10-15 23:01:07"' wrong: found 0 newer, expected 16 

The debugging in the latest version of 39890 is showing that all the files created for this subtest indeed have timestamps between "before = 2020-10-15 23:01:07" and "after = 2020-10-15 23:01:11".

Comment by Andreas Dilger [ 26/Oct/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40406
Subject: LU-13665 utils: add timezone to --newerXY parsing
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ce1007790c418c82ca22951f8dd6a2e3bb4f0026

Comment by Gerrit Updater [ 03/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39890/
Subject: LU-13665 tests: skip sanity subtests for new features
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 94b0568059ec9825ee96de89dab8f156703e222c

Comment by Gerrit Updater [ 22/Nov/22 ]

"Neil Brown <neilb@suse.de>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49206
Subject: LU-13665 lfs: use correct DST setting for mktime()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c05620be44d990264503bd9b50ac7c4b7e45683d

Comment by Gerrit Updater [ 06/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49206/
Subject: LU-13665 lfs: use correct DST setting for mktime()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 348e764b9bab92e628dd3dda4861b0068a7cb4f3

Generated at Sat Feb 10 03:03:11 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.