Skip to content

Organize automated test suite artifacts in per-run directories

A single test suite generally results in multiple files being created in the TMP dir, e.g.:

  • snapshots and disks
  • failure screenshots
  • network captures
  • videos (with #10148 (closed))

Some of these try to encode which test run it belonged to by including a timestamp. This is awkward, especially when developing new tests.

I propose that for the artifacts that reflect some sort of final result/log that will not be potentially reused in subsequent runs (e.g. everything above except “snapshots and disks”) we place them in $TMP/run-$TIMESTAMP-$XXXXXX, where $TIMESTAMP is when the test suite run was started and $XXXXXX is some random chars decided mktemp-style.

Feature Branch: test/10151-organize-artifacts

Related issues

Original created by @anonym on 10151 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information