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

sanity test_831/833/834: Numerical result out of range after test_823

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • <distro/arch>, 4KB and 64KB page size clients
    • 3
    • 9223372036854775807

      sanity test_831, 833 and 834 fail with "Numerical result out of range" when they run after test_823. test_823 sets max_create_count=0 on every OSP, then raises it again on OST0000 only. LOD keeps the cached statfs, where no OST is usable, for up to 2 x qos_maxage (~10 s by default), so creates in that window return -ERANGE. test_831 also ignores createmany's exit status, which hid the failure.

      Fix: test_823 changes only OST0000 and never sets it to 0, registers its restore trap before changing anything, and saves and restores OST0000's create_count. test_831 checks createmany's exit status.

      This works around the failure in the test. The OSP statfs refresh in LU-16685 is still needed.

            wc-triage WC Triage
            johgras John Grasso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: