unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New file "tests/docker-inception.scm" with small problem
@ 2019-01-11 16:17 Danny Milosavljevic
  2019-01-11 22:06 ` Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2019-01-11 16:17 UTC (permalink / raw)
  To: guix-devel

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

Hi,

there's a new branch "wip-docker-test" which has a new (non-system) test tests/docker-inception.scm .

You can run it via:

  make TESTS=tests/docker-inception.scm check

Unfortunately, it fails with some inscrutable qemu error message:

qemu-system-x86_64: -virtfs local,path=/home/dannym/src/guix-ns14/guix/test-tmp/store,security_model=none,mount_tag=TAGy5ajggutlpmxibmqfchkokzxuwid: cannot ini
tialize fsdev 'TAGy5ajggutlpmxibmqfchkokzxuwid': failed to open '/home/dannym/src/guix-ns14/guix/test-tmp/store': No such file or directory

Trying to fix it (setting NIX_STORE etc) made it worse, so I reverted that part.

Help?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: New file "tests/docker-inception.scm" with small problem
  2019-01-11 16:17 New file "tests/docker-inception.scm" with small problem Danny Milosavljevic
@ 2019-01-11 22:06 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2019-01-11 22:06 UTC (permalink / raw)
  To: Danny Milosavljevic, guix-devel

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

Danny Milosavljevic <dannym@scratchpost.org> writes:

> Hi,
>
> there's a new branch "wip-docker-test" which has a new (non-system) test tests/docker-inception.scm .
>
> You can run it via:
>
>   make TESTS=tests/docker-inception.scm check
>
> Unfortunately, it fails with some inscrutable qemu error message:
>
> qemu-system-x86_64: -virtfs local,path=/home/dannym/src/guix-ns14/guix/test-tmp/store,security_model=none,mount_tag=TAGy5ajggutlpmxibmqfchkokzxuwid: cannot ini
> tialize fsdev 'TAGy5ajggutlpmxibmqfchkokzxuwid': failed to open '/home/dannym/src/guix-ns14/guix/test-tmp/store': No such file or directory
>
> Trying to fix it (setting NIX_STORE etc) made it worse, so I reverted that part.
>
> Help?

I don't know what the problem is, but the test reads an awful lot like a
"system test" to me.  Any particular reason you wish to run this as a
"unit test"?  Perhaps we need another category for "package tests"?  :)

I suspect converting to a system test will fix this problem, as it will
use a "normal" store instead of the scratch one in ./test-tmp.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-01-11 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 16:17 New file "tests/docker-inception.scm" with small problem Danny Milosavljevic
2019-01-11 22:06 ` Marius Bakke

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).