Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9349 PFL known issues tracking ticket
  3. LU-9486

sanity test 27D failed with 'llapi_layout_test failed'

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Major
    • Lustre 2.10.0
    • Lustre 2.10.0
    • 9223372036854775807

    Description

      sanity test_27D fails when a default composite layout is set for the Lustre mount point with

      sanity test_27D: @@@@@@ FAIL: llapi_layout_test failed
      

      Looking at the test_log, we can see that sub tests 16 and 20 failed

      test 15: Can't change striping attributes of existing file . pass
      llapi_layout_test: llapi_layout_test.c:712: test16: assertion 'fcount == dcount' failed: 1 != 1152921504606846979
       test 16: Default stripe attributes are applied as expected . fail (exit status 1)
       test 17: LLAPI_LAYOUT_WIDE is honored ...................... pass
       test 18: Setting pool with fsname.pool notation ............ pass
       test 19: Maximum length pool name is NULL-terminated ....... pass
      llapi_layout_test: llapi_layout_test.c:891: test20: assertion 'fcount == dcount' failed: 1 != 1152921504606846979
       test 20: LLAPI_LAYOUT_DEFAULT is honored ................... fail (exit status 1)
      

      Looking at llapi_layout_test.c, it looks like the stripe count for the default layout does not match the count for the file layout

       692         rc = llapi_layout_stripe_count_get(deflayout, &dcount);
       693         ASSERTF(rc == 0, "errno = %d", errno);
       694 
       695         /* First, with a default struct llapi_layout */
       696         filelayout = llapi_layout_alloc();
       697         ASSERTF(filelayout != NULL, "errno = %d", errno);
       698 
       699         fd = llapi_layout_file_create(path, 0, 0640, filelayout);
       700         ASSERTF(fd >= 0, "errno = %d", errno);
       701 
       702         rc = close(fd);
       703         ASSERTF(rc == 0, "errno = %d", errno);
       704 
       705         llapi_layout_free(filelayout);
       706 
       707         filelayout = llapi_layout_get_by_path(path, 0);
       708         ASSERTF(filelayout != NULL, "errno = %d", errno);
       709 
       710         rc = llapi_layout_stripe_count_get(filelayout, &fcount);
       711         ASSERTF(rc == 0, "errno = %d", errno);
       712         ASSERTF(fcount == dcount, "%"PRIu64" != %"PRIu64, fcount, dcount);
      
      

      Log for recent failures are at
      https://testing.hpdd.intel.com/test_sets/2e962ed8-3534-11e7-814a-5254006e85c2
      https://testing.hpdd.intel.com/test_sets/f5d085aa-357c-11e7-b0a8-5254006e85c2

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: