Subject: bug#24060: Test failure: tests/publish.scm

From: [email-masked] (Ludovic Courtès)
Date: Tue, 26 Jul 2016 23:08:35 +0200

Hello!

Chris Marusich <[email-masked]> skribis:

> test-name: /nar/gzip/*
> location: /home/marusich/guix/tests/publish.scm:163
> source:
> + (test-equal
> +   "/nar/gzip/*"
> +   "bar"
> +   (call-with-temporary-output-file
> +     (lambda (temp port)
> +       (let ((nar (http-get-port
> +                    (publish-uri
> +                      (string-append "/nar/gzip/" (basename %item))))))
> +         (call-with-gzip-input-port
> +           nar
> +           (cut restore-file <> temp)))
> +       (call-with-input-file temp read-string))))
> GET /nar/gzip/z8qsg9bmmjzgfi0bbgls1wxd0wmhhm2i-item
> expected-value: bar
> actual-value: #f
> actual-error:
> + (srfi-34
> +   #<condition &nar-error [file: "/tmp/guix-file.7fzEA2" port: #<closed: r6rs-custom-binary-input-port 0>] 27616f0>)
> result: FAIL

I fail to reproduce it with ‘make -j’ on my 4-core laptop.  Is it easy
to reproduce for you?

Does the zlib test always pass, as per:

  while make check TESTS=tests/zlib.scm ; do : ; done

?

Thanks,
Ludo’.