unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21792: failed test
@ 2015-10-30  2:06 Samuel Lotz
  2015-10-31  1:44 ` Thompson, David
  2019-11-12 20:37 ` bug#21792: Hunting: status? zimoun
  0 siblings, 2 replies; 5+ messages in thread
From: Samuel Lotz @ 2015-10-30  2:06 UTC (permalink / raw)
  To: 21792

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

Failed test for guix-environment-container.sh

I don't know where the version is for guix but I just pulled it 
yesterday from savannah.

I'm on Ubuntu 14.04
Guile 2.0.9
libgcrypt11 and 20 are installed
make 3.81-8.2ubuntu3

Thank you,
Sam

[-- Attachment #2: test-suite.log --]
[-- Type: text/x-log, Size: 2741 bytes --]

======================================
   GNU Guix 0.9.0: ./test-suite.log
======================================

# TOTAL: 51
# PASS:  50
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/guix-environment-container
======================================

+ set -e
+ guix environment --version
guix environment (GNU Guix) 0.9.0
Copyright (C) 2015 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ tmpdir=t-guix-environment-13420
+ trap 'rm -r "$tmpdir"' EXIT
+ mkdir t-guix-environment-13420
+ guix environment --container --ad-hoc --bootstrap guile-bootstrap -- guile -c '(exit 42)'
accepted connection from pid 13428, user salotz
+ test 42 = 42
+ mount_test_code='
(use-modules (ice-9 rdelim)
             (ice-9 match)
             (srfi srfi-1))

(define mappings
  (filter-map (lambda (line)
                (match (string-split line #\space)
                  ;; Empty line.
                  (("") #f)
                  ;; Ignore these types of file systems.
                  ((_ _ (or "tmpfs" "proc" "sysfs" "devtmpfs"
                            "devpts" "cgroup" "mqueue") _ _ _)
                   #f)
                  ((_ mount _ _ _ _)
                   mount)))
              (string-split (call-with-input-file "/proc/mounts" read-string)
                            #\newline)))

(for-each (lambda (mount)
            (display mount)
            (newline))
          mappings)'
+ guix environment --container --ad-hoc --bootstrap guile-bootstrap -- guile -c '
(use-modules (ice-9 rdelim)
             (ice-9 match)
             (srfi srfi-1))

(define mappings
  (filter-map (lambda (line)
                (match (string-split line #\space)
                  ;; Empty line.
                  (("") #f)
                  ;; Ignore these types of file systems.
                  ((_ _ (or "tmpfs" "proc" "sysfs" "devtmpfs"
                            "devpts" "cgroup" "mqueue") _ _ _)
                   #f)
                  ((_ mount _ _ _ _)
                   mount)))
              (string-split (call-with-input-file "/proc/mounts" read-string)
                            #\newline)))

(for-each (lambda (mount)
            (display mount)
            (newline))
          mappings)'
accepted connection from pid 13436, user salotz
+ cat t-guix-environment-13420/mounts
/
/home/salotz/guix
/home/salotz/guix/test-tmp/store/mymx77h45s4jbym3g0y02dywkbkkf2fd-bash
/home/salotz/guix/test-tmp/store/1njh72acy1s1glwp9kx5zh13j6jabjr9-guile-bootstrap-2.0
++ wc -l
+ test 4 -eq 3
+ rm -r t-guix-environment-13420


[-- Attachment #3: guix-environment-container.sh --]
[-- Type: application/x-shellscript, Size: 2277 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21792: failed test
  2015-10-30  2:06 bug#21792: failed test Samuel Lotz
@ 2015-10-31  1:44 ` Thompson, David
  2015-11-20 14:54   ` Ludovic Courtès
  2019-11-12 20:37 ` bug#21792: Hunting: status? zimoun
  1 sibling, 1 reply; 5+ messages in thread
From: Thompson, David @ 2015-10-31  1:44 UTC (permalink / raw)
  To: Samuel Lotz; +Cc: 21792

Hi!

On Thu, Oct 29, 2015 at 10:06 PM, Samuel Lotz <samuel.lotz@gmail.com> wrote:
> Failed test for guix-environment-container.sh
>
> I don't know where the version is for guix but I just pulled it yesterday
> from savannah.
>
> I'm on Ubuntu 14.04
> Guile 2.0.9
> libgcrypt11 and 20 are installed
> make 3.81-8.2ubuntu3

Thanks for the report.  I see the issue, but I'm not sure why it's
happening.  Could you run the following command and send the output?

    guix environment --ad-hoc coreutils --container -- cat /proc/mounts

Thanks!

- Dave

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21792: failed test
  2015-10-31  1:44 ` Thompson, David
@ 2015-11-20 14:54   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-11-20 14:54 UTC (permalink / raw)
  To: Samuel Lotz; +Cc: 21792

"Thompson, David" <dthompson2@worcester.edu> skribis:

> On Thu, Oct 29, 2015 at 10:06 PM, Samuel Lotz <samuel.lotz@gmail.com> wrote:
>> Failed test for guix-environment-container.sh
>>
>> I don't know where the version is for guix but I just pulled it yesterday
>> from savannah.
>>
>> I'm on Ubuntu 14.04
>> Guile 2.0.9
>> libgcrypt11 and 20 are installed
>> make 3.81-8.2ubuntu3
>
> Thanks for the report.  I see the issue, but I'm not sure why it's
> happening.  Could you run the following command and send the output?
>
>     guix environment --ad-hoc coreutils --container -- cat /proc/mounts

Samuel, could you try this with Guix 0.9.0 or ‘master’ and report back?

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21792: Hunting: status?
  2015-10-30  2:06 bug#21792: failed test Samuel Lotz
  2015-10-31  1:44 ` Thompson, David
@ 2019-11-12 20:37 ` zimoun
  2019-11-20 17:45   ` zimoun
  1 sibling, 1 reply; 5+ messages in thread
From: zimoun @ 2019-11-12 20:37 UTC (permalink / raw)
  To: 21792, dthompson2, Ludovic Courtès, samuel.lotz

Dear,

This bug was reported more than 3 years ago and it is tagged "moreinfo".
Does it still apply?

If yes, please report any progress.
If no, do you agree to close it?

Thank you in advance for any comments.

All the best,
simon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#21792: Hunting: status?
  2019-11-12 20:37 ` bug#21792: Hunting: status? zimoun
@ 2019-11-20 17:45   ` zimoun
  0 siblings, 0 replies; 5+ messages in thread
From: zimoun @ 2019-11-20 17:45 UTC (permalink / raw)
  To: 21792-done

Dear,

Thank you for reporting this issue.

Information is lacking to investigate more. If you hit this bug again,
please re-open it.

All the best,
simon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-20 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30  2:06 bug#21792: failed test Samuel Lotz
2015-10-31  1:44 ` Thompson, David
2015-11-20 14:54   ` Ludovic Courtès
2019-11-12 20:37 ` bug#21792: Hunting: status? zimoun
2019-11-20 17:45   ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).