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

"Russian doll" test log tarballs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • Lustre 2.1.0
    • None
    • 3
    • 4763

    Description

      Test Framework uses the following code to collect logs when tests fail:

      gather_logs () {
          # ...
      
          local archive=$LOGDIR/${TESTSUITE}-$ts.tar.bz2
          tar -jcf $archive $LOGDIR/*$ts* $LOGDIR/*${TESTSUITE}*
      
          # ...
      }
      

      Note that the names of the archives begin with $TESTSUITE, which means, if there are multiple failures in the same suite, then the archive of each such failure will contain all the prior archives.

      In real world, I've encountered a test log directory with an over 6 GB size, thanks to those Russian doll tarballs. The test results couldn't be uploaded to Maloo, probably because of the huge size.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              liwei Li Wei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: