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

"Russian doll" test log tarballs

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: