GNU bug report logs - #75010
[PATCH 0/7] Roll back when deployment fails.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Sat, 21 Dec 2024 17:04:02 UTC

Severity: normal

Tags: moreinfo, patch

Full log


Message #41 received at 75010 <at> debbugs.gnu.org (full text, mbox):

From: Herman Rimm <herman <at> rimm.ee>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 75010 <at> debbugs.gnu.org
Subject: [PATCH v2 0/2] Add module for guix deploy tests.
Date: Fri, 31 Jan 2025 12:13:15 +0100
[Message part 1 (text/plain, inline)]
Hi Ludo',

Thanks for your feedback.  I'm not sure how to fix the bugs in guix
deploy.  For now I want to make the tests for guix deploy work, so I
only submit [PATCH v2 1/2], previously [PATCH 7/7].

[PATCH v2 2/2] has workarounds, the one in (gnu packages file-systems)
is because I don't know how to get the deploy tests to load e.g. (guix
platforms x86).

I run these commands:

  guix shell -D guix gnupg -CPWN
  make
  ./pre-inst-env guix build -f test.scm &> result

I attached result, test.scm contains:

  (use-modules (gnu tests deploy) (gnu tests reconfigure))
  ;%test-rollback
  %test-deploy
  ;%test-switch-to-system

%test-deploy runs into an error I don't know how to fix or work around.

Cheers,
Herman

Herman Rimm (2):
  gnu: tests: Add module for guix deploy tests.
  Fix deploy test errors.

 gnu/local.mk                  |   3 +-
 gnu/packages/file-systems.scm |   4 +-
 gnu/tests/deploy.scm          | 224 ++++++++++++++++++++++++++++++++++
 guix/channels.scm             |   3 +-
 4 files changed, 228 insertions(+), 6 deletions(-)
 create mode 100644 gnu/tests/deploy.scm


base-commit: 5a6c66f7919fbe79251cd425ae6952e67acbe94c
-- 
2.47.1
[result (text/plain, attachment)]

This bug report was last modified 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.