aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-01 11:53:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-01 11:53:04 +0200
commit8b896055d4d90b538211784cf9ad1bf335b20dc6 (patch)
tree755ca33df640a4a29e1d00c7e2e0265a4243bb94 /bbot/agent.cxx
parentc06600bc5e24389453d9a486c69d9746ae4fef23 (diff)
Soft-fail on VM forcedown failures
Since we've got the result this should be harmless. And should help with spurious KVM crashes with Mac OS guest.
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r--bbot/agent.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 6b59092..096bafe 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -659,9 +659,10 @@ try
soft_fail ("build terminated abnormally", false);
// Force the machine down (there is no need wasting time on clean
- // shutdown since the next step is to drop the snapshot).
+ // shutdown since the next step is to drop the snapshot). Also fail
+ // softly if things go badly.
//
- m->forcedown ();
+ try {m->forcedown (false);} catch (const failed&) {}
}
run_btrfs (trace, "subvolume", "delete", xp);