GNU bug report logs - #30868
test-suite fails: publish.scm

Previous Next

Package: guix;

Reported by: Martin Castillo <castilma <at> uni-bremen.de>

Date: Mon, 19 Mar 2018 23:50:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30868 in the body.
You can then email your comments to 30868 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30868; Package guix. (Mon, 19 Mar 2018 23:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Castillo <castilma <at> uni-bremen.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 19 Mar 2018 23:50:02 GMT) Full text and rfc822 format available.

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

From: Martin Castillo <castilma <at> uni-bremen.de>
To: bug-guix <at> gnu.org
Subject: test-suite fails: publish.scm
Date: Tue, 20 Mar 2018 00:48:10 +0100
[Message part 1 (text/plain, inline)]
make check TESTS=tests/publish.scm
results in the attached log

-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC
[test-suite.log (text/x-log, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 22 Mar 2018 11:57:01 GMT) Full text and rfc822 format available.

Notification sent to Martin Castillo <castilma <at> uni-bremen.de>:
bug acknowledged by developer. (Thu, 22 Mar 2018 11:57:02 GMT) Full text and rfc822 format available.

Message #10 received at 30868-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma <at> uni-bremen.de>
Cc: 30868-done <at> debbugs.gnu.org
Subject: Re: bug#30868: test-suite fails: publish.scm
Date: Thu, 22 Mar 2018 12:56:44 +0100
Hello Martin,

Martin Castillo <castilma <at> uni-bremen.de> skribis:

> test-name: /log/NAME
> location: /home/mcd/guix/tests/publish.scm:459
> source:
> + (test-equal
> +   "/log/NAME"
> +   `(200 #t application/x-bzip2)
> +   (let ((drv (run-with-store
> +                %store
> +                (gexp->derivation
> +                  "with-log"
> +                  (gexp (call-with-output-file
> +                          (ungexp output)
> +                          (lambda (port)
> +                            (display
> +                              "Hello, build log!"
> +                              (current-error-port))
> +                            (display "" port))))))))
> +     (build-derivations %store (list drv))
> +     (let* ((response
> +              (http-get
> +                (publish-uri
> +                  (string-append
> +                    "/log/"
> +                    (basename (derivation->output-path drv))))
> +                #:decode-body?
> +                #f))
> +            (base (basename (derivation-file-name drv)))
> +            (log (string-append
> +                   (dirname %state-directory)
> +                   "/log/guix/drvs/"
> +                   (string-take base 2)
> +                   "/"
> +                   (string-drop base 2)
> +                   ".bz2")))
> +       (list (response-code response)
> +             (= (response-content-length response)
> +                (stat:size (stat log)))
> +             (first (response-content-type response))))))
> expected-value: (200 #t application/x-bzip2)
> actual-value: #f
> actual-error:
> + (system-error
> +   "stat"
> +   "~A: ~S"
> +   ("No such file or directory"
> +    "/home/mcd/guix/test-tmp/var/log/guix/drvs/b7/nz0wvppdyr4n5sgs3b89j682sksqcb-with-log.drv.bz2")
> +   (2))
> result: FAIL

Should be fixed in 04d2a16c4ffd2f3ddfbaf3848093424228e7d918.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Apr 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 18 days ago.

Previous Next


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