From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgctC-0003Sk-BX for guix-patches@gnu.org; Sat, 12 Aug 2017 16:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgct9-0006Qf-4k for guix-patches@gnu.org; Sat, 12 Aug 2017 16:20:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgct9-0006QU-0S for guix-patches@gnu.org; Sat, 12 Aug 2017 16:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgct8-0006Vv-Hf for guix-patches@gnu.org; Sat, 12 Aug 2017 16:20:02 -0400 Subject: [bug#27855] [PATCH] gnu: Add rsync service. Resent-Message-ID: From: Oleg Pykhalov References: <20170727220151.2116-1-go.wigust@gmail.com> <20170728231747.5eae3af9@cbaines.net> <874ltvh5d6.fsf@gmail.com> <20170729125554.29836b28@cbaines.net> <87r2wszni8.fsf@gmail.com> <20170803163322.3e87b004@cbaines.net> <87fud8zkqv.fsf@gmail.com> <20170810081820.71b29b0a@cbaines.net> <20170810192139.2c3f04da@cbaines.net> <87mv778d66.fsf@gmail.com> <87y3qprjjd.fsf@gmail.com> <20170812075903.0dc36c0c@cbaines.net> <87valtylnc.fsf@gmail.com> <20170812184649.2003677a@cbaines.net> Date: Sat, 12 Aug 2017 23:19:44 +0300 In-Reply-To: <20170812184649.2003677a@cbaines.net> (Christopher Baines's message of "Sat, 12 Aug 2017 18:46:49 +0100") Message-ID: <87wp68wnbz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Christopher Baines Cc: 27855@debbugs.gnu.org Christopher Baines writes: =E2=80=A6 > Yep, I think I just stopped writing the test after finding the issue > with the PID file. > > I haven't looked in to how to fix this in the test, so if you could, > that would be great. Otherwise, I'll probably have time to look at this > again within a week or so. > > You'll probably need to refactor the test a bit, as at the moment, the > information regarding the port isn't available where you run the > commands. Of course I'll try. By the way, how to run a =E2=80=9Cvm=E2=80=9D? Previo= us method =E2=80=9C./pre-inst-env guix system vm gnu/tests/rsync.scm=E2=80=9D doesn't= work for me. --8<---------------cut here---------------start------------->8--- Backtrace: 5 (primitive-load "/home/natsu/src/guix/scripts/guix") In guix/ui.scm: 1331:12 4 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 3 (catch _ _ # _) 837:9 2 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1026:8 1 (_) 905:28 0 (process-action vm _ ((argument . "gnu/tests/rsync.scm") (# . = vm) =E2=80=A6)) guix/scripts/system.scm:905:28: In procedure process-action: guix/scripts/system.scm:905:28: In procedure struct_vtable: Wrong type argu= ment in position 1 (expecting struct): #--8<---------------cut= here---------------end--------------->8--- >> >> Also, I have (is related?) error on top of test log. >> >> --8<---------------cut here---------------start------------->8--- >> >> natsu@magnolia ~/src/guix$ ./pre-inst-env make check-system >> >> TESTS=3Drsync-with-default-port Compiling Scheme modules... >> >> warning: failed to load '(gnu tests admin)': >> >> ERROR: In procedure allocate-struct: Wrong type argument in >> >> position 2: 8 --8<---------------cut >> >> here---------------end--------------->8---=20=20 >> > >> > I think I may have seen this error too, no idea what it relates to >> > though.=20=20 >>=20 >> Should we report this as a bug? > > Ideally yes, but I have no idea where the bug might be. I guess it > might be Guile, as I didn't find anything named allocate-struct in Guix. Also for a good bug report we need to understand =E2=80=9CWhat fails=E2=80= =9D and =E2=80=9CWhat you expect=E2=80=9D, I guess. Will be a challenge. :-) --=20 Best regards, Oleg.