Files
Joachim Wiberg c89c1f689b support: diagnostic debug for flaky test
This patch adds diagnostic data and additional logging to catch the root
cause for issue #1303:

  - Exactly when and why cleanup is called
  - Whether the cd /tmp command succeeds
  - The actual tar exit code (not just 255 from SSH)
  - Whether cleanup happens before tar completes (race condition)
  - The full collection.log showing the sequence of events

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-12-05 14:40:02 +01:00
..

=== Support data collection

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/misc/support_collect]

==== Description

Verify that the support collect command works and produces a valid tarball
with expected content. Tests both the --work-dir global option and GPG
encryption (when available on target).

==== Topology

image::topology.svg[Support data collection topology, align=center, scaledwidth=75%]

==== Sequence

. Set up topology and attach to target DUT
. Check for GPG availability on target
. Run support collect with --work-dir and short log tail
. Verify tarball was created and is valid
. Run support collect with GPG encryption
. Verify encrypted file and decrypt it