Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14321

Interop: sanityn test 106a fails with '/mnt/lustre/f106a.sanityn btime (0:1608796627) diff'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • Lustre 2.14.0
    • Lustre clients >= 2.13.53.242 and Lustre servers < 2.13.53.242
    • 3
    • 9223372036854775807

    Description

      sanityn test_106a was added by patch 3f7853b31ef6 “LU-10934 llite: integrate statx() API with Lustre” to Lustre 2.13.53.242 on 27 MAY 2020. When we test Lustre clients >= 2.13.53.242 and Lustre servers < 2.13.53.242, this test will fail.

      Looking at the suite_log for https://testing.whamcloud.com/test_sets/cd04c059-55e9-475b-88de-2cbef096f515, we see the error message

      == sanityn test 106a: Verify the btime via statx() =================================================== 07:57:06 (1608796626)
      1+0 records in
      1+0 records out
      1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00144256 s, 710 kB/s
      CMD: trevis-19vm4 debugfs -c -R 'stat ROOT/f106a.sanityn' /dev/mapper/mds1_flakey
      trevis-19vm4: debugfs 1.45.6.wc3 (28-Sep-2020)
      trevis-19vm4: /dev/mapper/mds1_flakey: catastrophic mode - not reading inode or group bitmaps
      Inode: 14506 Type: regular Mode: 0644 Flags: 0x0 Generation: 660653283 Version: 0x00000012:0028819f User: 0 Group: 0 Project: 0 Size: 0 File ACL: 0 Links: 1 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x5fe449d3:829350f0 -- Thu Dec 24 07:57:07 2020 atime: 0x5fe449d3:829350f0 -- Thu Dec 24 07:57:07 2020 mtime: 0x5fe449d3:829350f0 -- Thu Dec 24 07:57:07 2020 crtime: 0x5fe449d3:829350f0 -- Thu Dec 24 07:57:07 2020 Size of extra inode fields: 32 Extended attributes: trusted.lma (24) = 00 00 00 00 00 00 00 00 d4 88 00 00 02 00 00 00 00 9f 00 00 00 00 00 00 lma: fid=[0x2000088d4:0x9f00:0x0] compat=0 incompat=0 trusted.lov (56) trusted.link (55) trusted.som (24) = 04 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BLOCKS:
       sanityn test_106a: @@@@@@ FAIL: /mnt/lustre/f106a.sanityn btime (0:1608796627) diff 
      

      In addition, the same patch added a call to ‘lfs setstripe’ that is failing for the same Lustre client/server combinations. The code added is

      3090 
      3091         $LFS setstripe -E 1M -c 1 -E -1 --extension-size 64M $DIR1/$tfile ||
      3092                 error "Create $DIR1/$tfile failed"
      3093 
      

      with error

      == sanityn test 51b: layout lock: glimpse should be able to restart if layout changed ================ 07:36:53 (1608795413)
      lfs setstripe: cannot create composite file '/mnt/lustre/f51b.sanityn': Invalid argument
       sanityn test_51b: @@@@@@ FAIL: Create /mnt/lustre/f51b.sanityn failed 
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:6273:error()
        = /usr/lib64/lustre/tests/sanityn.sh:3092:test_51b()
      

      We need to skip sanityn test 106a for servers with Lustre version < 2.13.53.242.

      For test 51b, should we just skip the ‘lfs setstripe’ for Lustre servers with version < 2.13.53.242?

      Attachments

        Issue Links

          Activity

            People

              jamesanunez James Nunez (Inactive)
              jamesanunez James Nunez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: