Save WT logging in test format from being discarded

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Test Format
    • None
    • Storage Engines - Persistence
    • 280.42
    • None
    • None

      Currently, format.sh captures each job's WiredTiger output to a per-job log file, but discards it once the job resolves - in resolve(), both the "successful job" path and the "killed job" path unconditionally rm -rf $dir $log $rec_dir. Failed jobs already keep their log via report_failure(), but successful and timed-out/killed jobs don't and the deleted log is the only record of what that specific job was doing when it got killed.

      Additionally, test format only reports to its own stdout when a job finishes, so a single-long running job is indistinguishable from a hang, and long-running jobs (>= 2 hrs) are killed when nothing is printed to stdout/stderr.

      Fix: retain the job's log, CONFIG, and WiredTigerStat.* files, and add live logging from WT to stdout/stderr. 

            Assignee:
            Dylan Liang
            Reporter:
            Dylan Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: