From: ludo@gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma@uni-bremen.de>
Cc: 30868-done@debbugs.gnu.org
Subject: bug#30868: test-suite fails: publish.scm
Date: Thu, 22 Mar 2018 12:56:44 +0100 [thread overview]
Message-ID: <87tvt8gw77.fsf@gnu.org> (raw)
In-Reply-To: <73b813f2-da13-8432-0774-965efbe2c2e3@uni-bremen.de> (Martin Castillo's message of "Tue, 20 Mar 2018 00:48:10 +0100")
Hello Martin,
Martin Castillo <castilma@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’.
prev parent reply other threads:[~2018-03-22 11:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 23:48 bug#30868: test-suite fails: publish.scm Martin Castillo
2018-03-22 11:56 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvt8gw77.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30868-done@debbugs.gnu.org \
--cc=castilma@uni-bremen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.