From 6d497282ad2478d03a27894de8e8bb4074e9f741 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 2 Nov 2020 09:07:37 +0000 Subject: Attempt to more gracefully handle the problem of missing derivations In the agent and allocator. --- guix-build-coordinator/build-allocator.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'guix-build-coordinator/build-allocator.scm') diff --git a/guix-build-coordinator/build-allocator.scm b/guix-build-coordinator/build-allocator.scm index f4de8b7..1b7bd0b 100644 --- a/guix-build-coordinator/build-allocator.scm +++ b/guix-build-coordinator/build-allocator.scm @@ -89,6 +89,11 @@ ;; again for now. (string=? (assq-ref setup-failure 'agent-id) agent-id)) + ((string=? failure-reason "error_fetching_derivation") + ;; This problem might go away, but just don't try the same agent + ;; again for now. + (string=? (assq-ref setup-failure 'agent-id) + agent-id)) (else (error "Unknown setup failure " failure-reason))))) @@ -380,6 +385,11 @@ ;; again for now. (string=? (assq-ref setup-failure 'agent-id) agent-id)) + ((string=? failure-reason "error_fetching_derivation") + ;; This problem might go away, but just don't try the same agent + ;; again for now. + (string=? (assq-ref setup-failure 'agent-id) + agent-id)) (else (error "Unknown setup failure " failure-reason))))) -- cgit v1.2.3