From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: New file "tests/docker-inception.scm" with small problem Date: Fri, 11 Jan 2019 23:06:20 +0100 Message-ID: <87ef9i7stf.fsf@fastmail.com> References: <20190111171719.3114e712@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gi4wu-0007Tt-0U for guix-devel@gnu.org; Fri, 11 Jan 2019 17:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gi4ws-0005D8-MW for guix-devel@gnu.org; Fri, 11 Jan 2019 17:06:43 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:47301) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gi4wr-00055K-TQ for guix-devel@gnu.org; Fri, 11 Jan 2019 17:06:42 -0500 In-Reply-To: <20190111171719.3114e712@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic , guix-devel@gnu.org --=-=-= Content-Type: text/plain Danny Milosavljevic 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlw5E1wACgkQoqBt8qM6 VPp4UAf/QEbDU6gWNSrO+MaVDHxhEf/dK1Lu7+Po3l2W3Auy/8KTmcTP2FwaGYyk OE+EAlEp0+sxgVp3SoFaINj3aw4PyBMyVQ17vwsjXbWuLMUcHFCuvBYoSi0BFbqj /RMJP1MN795UXkaI4uY3cYfJ8jjyM/YFOs10KrFNPYGgQtfYoJS9wotZNDepdVa8 SBeHq7OoKyvMxlfWbG1Lye9wVd2lu41nToZczI9fNdnIAS48ONvh5m5X+IjAvk0i v7km1BPU9Fm3D808gw3YkKhxKhtSRsH5RwkXZC+3SAX0HI9VvwXYJS6vn0BSFmIF kdBgz4nJphNJNmEN7QxYaOhYjQuqbw== =HJcv -----END PGP SIGNATURE----- --=-=-=--