fix(bootstrap): move archives before cleanup 81/39481/1
authorVratko Polak <vrpolak@cisco.com>
Mon, 4 Sep 2023 12:25:27 +0000 (14:25 +0200)
committerVratko Polak <vrpolak@cisco.com>
Mon, 4 Sep 2023 12:25:27 +0000 (14:25 +0200)
If cleanup fails, we still want to examine robot logs
for any hints of why a node may have stopped working properly.

Bootstrapt scripts for device tests are doing that already,
so this patch only edits the perf verify bootstrap script.

Change-Id: I8b8ad7bcbbbbc26874068efe1b20e8053f0d5650
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/libraries/bash/entry/bootstrap_verify_perf.sh

index fd67716..84d690c 100755 (executable)
@@ -50,6 +50,6 @@ select_tags || die
 compose_robot_arguments || die
 set_environment_variables || die
 run_robot || die
-untrap_and_unreserve_testbed || die
 move_archives || die
+untrap_and_unreserve_testbed || die
 die_on_robot_error || die