From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OAv0IoM8CGG2TgEAgWs5BA (envelope-from ) for ; Mon, 02 Aug 2021 20:42:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6KWoHoM8CGFVHAAA1q6Kng (envelope-from ) for ; Mon, 02 Aug 2021 18:42:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08CCB86A9 for ; Mon, 2 Aug 2021 20:42:11 +0200 (CEST) Received: from localhost ([::1]:38926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAct8-0003H1-3E for larch@yhetil.org; Mon, 02 Aug 2021 14:42:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAct0-0003GU-4q for guix-patches@gnu.org; Mon, 02 Aug 2021 14:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAcsz-0001Ot-TP for guix-patches@gnu.org; Mon, 02 Aug 2021 14:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAcsz-0000u0-QU for guix-patches@gnu.org; Mon, 02 Aug 2021 14:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49494] [PATCH 0/7] Add nncp Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Aug 2021 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Arun Isaac Cc: 49494@debbugs.gnu.org Received: via spool by 49494-submit@debbugs.gnu.org id=B49494.16279296643401 (code B ref 49494); Mon, 02 Aug 2021 18:42:01 +0000 Received: (at 49494) by debbugs.gnu.org; 2 Aug 2021 18:41:04 +0000 Received: from localhost ([127.0.0.1]:39281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcs3-0000sn-SX for submit@debbugs.gnu.org; Mon, 02 Aug 2021 14:41:04 -0400 Received: from out0.migadu.com ([94.23.1.103]:61625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAcs0-0000sE-Lw for 49494@debbugs.gnu.org; Mon, 02 Aug 2021 14:41:02 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1627929658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rg7FPd7VHyn4e/8QXHcu/q3dfYeus0P7wD99MJywRIk=; b=QAfkXaQHT6KUBO70aINLhg7IWgM0U//2f/DLBqcJNurEmq0AbNsMLYs/hXTGBVYISiVKNm RjWH2YJV81PfpJ6T4L/JhLPcjjSOLGeMENpcRb0WPkLPj84JWlJOkpLfMXYLWd8UHmaawX ZFxU6+o/v8PlqKyyr2nXbiSl79doS2o= From: Sarah Morgensen References: <20210709161940.12759-1-arunisaac@systemreboot.net> <20210709161940.12759-7-arunisaac@systemreboot.net> <86wnphrfhr.fsf_-_@mgsn.dev> <87o8agapkl.fsf@systemreboot.net> <861r7c5r3v.fsf_-_@mgsn.dev> <87im0nai37.fsf@systemreboot.net> <87v94nzogj.fsf@systemreboot.net> Date: Mon, 02 Aug 2021 11:40:56 -0700 In-Reply-To: <87v94nzogj.fsf@systemreboot.net> (Arun Isaac's message of "Tue, 03 Aug 2021 00:03:16 +0530") Message-ID: <86y29j4rlz.fsf_-_@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627929731; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=rg7FPd7VHyn4e/8QXHcu/q3dfYeus0P7wD99MJywRIk=; b=qPCUvswMPQfc6oFJP0K8sAzQOwHBUlmFtOrgtXFn3tyZ4qTPXNODdGGWLnbxAh6GJCSkwi 8MGWs0COS47O0K5tf8+pfr47S9D63s8MZah9+g/iapyfhaF5xhH9Qz0m34+kUwlhNRSBj+ ne1U0/BSBHoL0NmvYfcySbWa+7jjtc7uTw+ebS0RTjaTBDdGFY+u//MeDMcr6Bq+yYc5zu qMRpkNRdPCkcgs2fKVbSbkHofqBLpuF2q0ivRFwQEWG15A5JlT45grMVBSMFbNRVLTtX8g MbvEc0DTiHZzpXhJOROv7ezXtf5e5N/7uMONHbFHpWicipG2EvOpUlyIIMcYzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627929731; a=rsa-sha256; cv=none; b=kb+UAyPAL7wBbYNg3eM7m5sYn2rNtMfnjxZ6Jkq7DA1yk9fAIV1CHqIfPEIKA/IizgY5Pv hfjdt1rAHXCIRTuAzpYSIxrPm+XpgR1rFIyHc1I1m1zfr5dm5BAbJvmTQ72V3JiU4WohDm r9VdZomfHVhtn0iKLTmsB1Zn5jxbWiu84O2ZdkEGTN2+vnxGippCJXTiHCvBHIxJ8YjCtI znYx8irck23B82PQDxMgvLeQRmF/MZCfYVjdu/kAc2tRCYos0d7ZQh2IRzCA8+GfwgpAEE lzzRtjwyajcskAi+dwLazxKOVYq/mJR3O4NsMcx3Ieh7hCbMBmlqRuh1d4IvLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=QAfkXaQH; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=QAfkXaQH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 08CCB86A9 X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: NaVu1Tb8jWZN Hi Arun, Arun Isaac writes: > Hi Sarah, > >>> Your patch applies on master (fba107e), builds, and passes tests for me; >>> I'm on x86-64. What's your platform? >> >> I'm on x86_64 too. I tried on master eb46c6c5c8. I have attached the >> complete build log. The tests seem to have timed out after 10 >> minutes. Could it be something to do with memory usage? I have 4 GB of >> RAM. > > I set up a tmpfs file system at /tmp. And, curiously, now the package > builds successfully. No idea why this is happening, though. I actually just figured this out as well. You're on a rotational disk, aren't you? Since nncp makes heavy use of the spool file (which I think it mocks in /tmp for testing), I think that's why your tests are taking so long and timing out. Tests complete for me on a SSD in ~40s. (All the error messages are red herrings; they're expected errors.) If this is the case, it might be worth it to increase the test timeout for those who use --no-substitutes. > >>>>> Does CFGPATH need to be set? >>>> >>>> I have now set CFGPATH TO /etc/nncp.hjson. >>> >>> When I run any of the executables, I get: >>> >>> main.go:73: Error during initialization: stat /usr/local/etc/nncp.hjson: >>> no such file or directory >> >> I couldn't reproduce this error message. Which command are you running? >> But, I do see that the output of say `nncp-xfer` lists >> /usr/local/etc/nncp.hjson as the default configuration path. I will >> investigate. Apologies, I got the error with `nncp-stat` and `nncp-check`. > > That leaves only the CFGPATH issue. I'll figure it out and send a v3 > patch. > > Regards, > Arun -- Sarah