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

sanity test_272a always fails on single OST system, should be skipped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • * Lustre 2.14
      * 4.19.0-21-amd64 #1 SMP Debian 4.19.208-3 (2017-12-06) x86_64 GNU/Linux
    • 1
    • 9223372036854775807

    Description

      Sanity test_272a always fails on single OST systems because it checks for a stripe count of two, requiring >1 OST.

      results.yml:

                  name: test_272a
                  status: FAIL
                  duration: 1
                  return_code: 1
                  error: "bad\ final\ stripe\ count:\ 1\ \!=\ 2"
      

      test log:

      == sanity test 272a: DoM migration: new layout with the same DOM component =========================== 15:28:11 (1641338891)
      1+0 records in
      1+0 records out
      524288 bytes (524 kB, 512 KiB) copied, 0.00540308 s, 97.0 MB/s
       sanity test_272a: @@@@@@ FAIL: bad final stripe count: 1 != 2
        Trace dump:
        = /usr/lib/lustre/tests/test-framework.sh:6273:error()
        = /usr/lib/lustre/tests/sanity.sh:20792:test_272a()
        = /usr/lib/lustre/tests/test-framework.sh:6576:run_one()
        = /usr/lib/lustre/tests/test-framework.sh:6623:run_one_logged()
        = /usr/lib/lustre/tests/test-framework.sh:6465:run_test()
        = /usr/lib/lustre/tests/sanity.sh:20794:main()
      Dumping lctl log to /opt/results//2022-01-04/134313/sanity.test_272a.*.1641338891.log
      Dumping logs only on local client.
      Resetting fail_loc on all nodes...done.
      

       
      This test should be skipped as others are on configurations with a single OST. For example:

              (( $OSTCOUNT >= 2 )) || skip_env "needs >= 2 OSTs"
      

      as can be seen in ost-pools.sh.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              burris Spencer Burris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: