From: ludo@gnu.org (Ludovic Courtès)
To: myglc2 <myglc2@gmail.com>
Cc: 23836@debbugs.gnu.org
Subject: bug#23836: bae0636 bournish: Add 'wc' command. make check FAIL: 9
Date: Fri, 24 Jun 2016 14:30:24 +0200 [thread overview]
Message-ID: <87h9ci6a73.fsf@gnu.org> (raw)
In-Reply-To: <868txvse36.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 23 Jun 2016 19:03:09 -0400")
Hello,
myglc2 <myglc2@gmail.com> skribis:
> Running Guix on Debian 8.3 from git bae0636 bournish: Add 'wc' command.
> test-name: query narinfo without signature
> location: /home/g1/dev/guix/tests/substitute.scm:173
> source:
> + (test-equal
> + "query narinfo without signature"
> + ""
> + (with-narinfo
> + %narinfo
> + (string-trim-both
> + (with-output-to-string
> + (lambda ()
> + (with-input-from-string
> + (string-append
> + "have "
> + (%store-prefix)
> + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo")
> + (lambda () (guix-substitute "--query"))))))))
> expected-value:
> actual-value: #f
> actual-error:
> + (system-error
> + "lstat"
> + "~A: ~S"
> + ("No such file or directory"
> + "/home/g1/dev/guix/test-tmp/var/24621/cache-24621/guix/substitute/")
> + (2))
> result: FAIL
This is fishy. Could it be that files in this directory were being
accessed or removed concurrently?
Could you retry these tests with:
make check TESTS=tests/substitute.scm
?
> test-name: container-excursion
> location: /home/g1/dev/guix/tests/containers.scm:100
> source:
> + (test-assert
> + "container-excursion"
> + (call-with-temporary-directory
> + (lambda (root)
> + (match (list (pipe) (pipe))
> + (((start-in . start-out) (end-in . end-out))
> + (define (container)
> + (close end-out)
> + (close start-in)
> + (write 'ready start-out)
> + (close start-out)
> + (read end-in)
> + (close end-in))
> + (define (namespaces pid)
> + (let ((pid (number->string pid)))
> + (map (lambda (ns)
> + (readlink (string-append "/proc/" pid "/ns/" ns)))
> + '("user" "ipc" "uts" "net" "pid" "mnt"))))
> + (let* ((pid (run-container root '() %namespaces 1 container))
> + (container-namespaces (namespaces pid))
> + (result
> + (begin
> + (close start-out)
> + (read start-in)
> + (close start-in)
> + (container-excursion
> + pid
> + (lambda ()
> + (match (primitive-fork)
> + (0
> + (assert-exit
> + (equal?
> + container-namespaces
> + (namespaces (getpid)))))
> + (fork-pid
> + (match (waitpid fork-pid)
> + ((_ . status)
> + (primitive-exit
> + (status:exit-val
> + status)))))))))))
> + (close end-in)
> + (write 'done end-out)
> + (close end-out)
> + (waitpid pid)
> + (zero? result)))))))
> actual-value: #f
> actual-error:
> + (system-error
> + "clone"
> + "~d: ~A"
> + (2080505873 "Operation not permitted")
> + (1))
> result: FAIL
You can ignore this one: the previous tests were skipped due to lack of
support for user namespaces on this system, and this one should have
been fixed too (I’ll update tests/containers.scm so that it really skips
it.)
Thanks for your report!
Ludo’.
next prev parent reply other threads:[~2016-06-24 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 23:03 bug#23836: bae0636 bournish: Add 'wc' command. make check FAIL: 9 myglc2
2016-06-24 12:30 ` Ludovic Courtès [this message]
2016-06-24 13:09 ` myglc2
2016-06-24 23:14 ` Ludovic Courtès
2016-06-28 16:11 ` myglc2
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=87h9ci6a73.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23836@debbugs.gnu.org \
--cc=myglc2@gmail.com \
/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.