From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: Re: Progress on 'guix deploy' Date: Tue, 11 Jun 2019 16:54:36 -0400 Message-ID: <87r27zc06r.fsf@sdf.lonestar.org> References: <875zpgrjqf.fsf@sdf.lonestar.org> <87h88x7pni.fsf@gnu.org> <871s01l4c2.fsf@sdf.lonestar.org> <87k1dscfxc.fsf@sdf.lonestar.org> <87h88wynhh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58111) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hanwW-0004Qd-F3 for guix-devel@gnu.org; Tue, 11 Jun 2019 17:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hanoB-0001lt-QU for guix-devel@gnu.org; Tue, 11 Jun 2019 16:55:57 -0400 In-Reply-To: <87h88wynhh.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 11 Jun 2019 20:40:26 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Could it be that the VM died in the middle of the SSH session? Where > does SIGTERM (15) come from? The SIGTERM comes from my less-than-ideal way of spinning up marionettes outside of the derivation that carries out the srfi-64 tests, 'call-with-marionette'. I have a line with '(kill pid SIGTERM)' as the QEMU guest will otherwise continue to run after the test suite exits. I commented out the line and verified that after the error occurs, the guest is still running (and accessible via SSH). What's interesting is, if I leave the guest running, SSH in, set up public key auth and run 'guix deploy' from my shell, I don't get the socket error. #+BEGIN_SRC jakob@Epsilon ~/Code/guix [env] $ ./pre-inst-env guix deploy ~/Notes/Softwa= re/Guix/deployment.scm=20 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% @ build-started /gnu/store/4cl8yydsdnz9rwsswrgr788l7p2q2xqy-etc.drv - x86_6= 4-linux /var/log/guix/drvs/4c//l8yydsdnz9rwsswrgr788l7p2q2xqy-etc.drv.bz2 2= 3724 @ build-succeeded /gnu/store/4cl8yydsdnz9rwsswrgr788l7p2q2xqy-etc.drv - @ build-started /gnu/store/ban0c1b97gfzy5siqwzd30j3m31slxfq-activate-servic= e.drv - x86_64-linux /var/log/guix/drvs/ba//n0c1b97gfzy5siqwzd30j3m31slxfq-= activate-service.drv.bz2 23732 @ build-succeeded /gnu/store/ban0c1b97gfzy5siqwzd30j3m31slxfq-activate-serv= ice.drv - @ build-started /gnu/store/8wadw74kz2nwx6n7gmilkjn4qig3isrn-activate.drv - = x86_64-linux /var/log/guix/drvs/8w//adw74kz2nwx6n7gmilkjn4qig3isrn-activate= .drv.bz2 23739 @ build-succeeded /gnu/store/8wadw74kz2nwx6n7gmilkjn4qig3isrn-activate.drv - @ build-started /gnu/store/yz4brqis8jfs08wjhyk1bbdcz6vdx2ld-boot.drv - x86_= 64-linux /var/log/guix/drvs/yz//4brqis8jfs08wjhyk1bbdcz6vdx2ld-boot.drv.bz2= 23745 @ build-succeeded /gnu/store/yz4brqis8jfs08wjhyk1bbdcz6vdx2ld-boot.drv - @ build-started /gnu/store/dqxm5lw45408f64lqm5k2ylyx7vvqpyw-system.drv - x8= 6_64-linux /var/log/guix/drvs/dq//xm5lw45408f64lqm5k2ylyx7vvqpyw-system.drv= .bz2 23751 @ build-succeeded /gnu/store/dqxm5lw45408f64lqm5k2ylyx7vvqpyw-system.drv - building gnu-deployed... done sending 4790 store items (1,905 MiB) to 'localhost'... Backtrace: 10 (primitive-load "/home/jakob/.config/guix/current/bin/g=E2=80= =A6") In guix/ui.scm: 1747:12 9 (run-guix-command _ . _) In guix/store.scm: 623:10 8 (call-with-store _) In srfi/srfi-1.scm: 640:9 7 (for-each # =E2=80=A6) In guix/scripts/deploy.scm: 84:20 6 (_ _) In guix/store.scm: 1794:24 5 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In gnu/machine.scm: 119:2 4 (_ _) In guix/store.scm: 1690:38 3 (_ #) In guix/ssh.scm: 313:4 2 (send-files _ _ _ #:recursive? _ #:log-port _) In guix/store.scm: 1562:12 1 (export-paths # _ # =E2=80=A6) 1542:22 0 (export-path # _ # =E2=80=A6) guix/store.scm:1542:22: In procedure export-path: Throw to key `srfi-34' with args `(#)'. #+END_SRC Very unusal. I'm wondering if it's caused by my use of 'call-with-connected-session/auth' from (gnu tests ssh) rather than 'open-ssh-session' in (guix ssh). That's the main difference between the test suite and 'guix deploy' in terms of how they communicate with the guest. Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0AFQwACgkQ9Qb9Fp2P 2VqplBAAhgexXUNlEEVFsm3gRXYq9Xyt4QhOGM+fQ3UxNGZI2cks2/rTMPSF+IwV TLYaO+6DpbWIcydtw013y5iS/WHBp8Yo5nKt7rUhLluBZwddP2ILFhLBzHqCAwPv 5UXpJT7UIiX4Bmxqt9GrDzbYBjUYe4HzEle7M3RGbXwSB4rJU39sGWMnM2cfD6kq bmgrVZSOeoLkIavgY/jURCQWDISkdqsKUPDnexz4uwRzNhrfA4iPxyVZQRbX2H81 w/BCuE4fbAdfhNqktFnwvHa96O2OFes3Uv2gt58VUqEKJAfbV1vAPXX52URCfwnu uP3LjsKRo0HpjcKA4rMK4IpJfZwoMb79MR3i/vcg4Y/+BA+e7zMHNF5xSdg9jT4g R5Au7KR/iBANjQxoNpCrf0GATbVT2Yr2XqBTjxk8GqD1rFsAtMS5k/roa+/+2eDH eHSb+UrXDSqztnUjo8By6ZUuMPi2GJcs1PReWKU9zdpSstG0sBAgF3QHj+aawcr6 rYE/10E2viA3j+GCu7KLesDbL+46MuGChiTNTAYunfndcomLPeQIlzoA2rh73Axr 0KziQ+329gqDt6xvo5JV5NjOhw9f56hXz87ks6mnwXjOgV4TU6Mxd9eW7gm0e8qf 4Wk1wJRYL/bDtjmihUYLiyzJSiOivfCqD5RINXhTxIyjIHEWlwQ= =sqgr -----END PGP SIGNATURE----- --=-=-=--