From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 2042A14984; Fri, 31 Oct 2025 11:14:30 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 0084F14903; Fri, 31 Oct 2025 11:14:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by atuin.qyliss.net (Postfix) with ESMTPS id 8A40614901 for ; Fri, 31 Oct 2025 11:14:25 +0000 (UTC) Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id D10751400179; Fri, 31 Oct 2025 07:14:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Fri, 31 Oct 2025 07:14:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm2; t=1761909263; x=1761995663; bh=Dnlyu4kB94zjLWw7RyJAr GxBGGh4kmhdlU966c+r2Lw=; b=bCiRMcLoZQ+9Dhj0NJ8WVDvQbJBi9PcwoDzqF 9U8oysACtW19CG2navPZsHG+Sef1+FXAb0CRf1AiWUWaMR/+RBHGrpgRYGbfvcvI xrf6wTFIg9pcsPNDl2ljVKUinQMSy8yEE2aOFewPCr1LYuV4rHXlkBuZJNWMYTcp kHKvJQG04dlCKDVUS5ivOK4mHn98gnXxzjiqq9QNZUtHE4jR5Id72b/CEaXl53VD H/iuAfJ/UX3uEXJeNcdoiXSeYuDbbeUomyVpd1OcYq+Kyxwayp4+1AOHtU9w9K7b eEiE/Qw4MzeA+38gWBsd5snhVzwTEeNJ+IYmOyIDuQEZmYx8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1761909263; x=1761995663; bh=Dnlyu4kB94zjLWw7RyJArGxBGGh4kmhdlU9 66c+r2Lw=; b=QHryOoOpiSCemrZPklOMuIcPFOfRQaZcswnkRAjdghNa7ThpaxY pjvNCWD7fhTvyzcTMJAqMUColoYfYzLG9oj5EDIOd/UoNwrpwqfqzLJr7mjzZiq9 wuBWLK3/+38XXY1XA1rT96GBXA/snUAGIVsWbzd/+c/NtAkAUAR/hXfjVlaOFxYl Ce+HDS/VFMgFJcmbvHkprFwoWlimceqEFzRZN4VDHqCgjWxX89oduBrcITz3rsiO LdjB9KEn5V2B1Dvkefc8Pq1EZdVDKCYZRFrxg0wcWU4WuFZUWmuPv4/jbmAh4Az/ jR2Hbn5CQTXiDRpzG3IeToB+U+Hkueho/nQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduieelfeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepieegkeetve euiedugeeifffhveeufeethedvteevudefudegffeuvefftefhhfdvnecuffhomhgrihhn pehsphgvtghtrhhumhdqohhsrdhorhhgpdhlihgsrhgvshhslhdrnhgtnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdr ihhspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope guvghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhes shhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Oct 2025 07:14:22 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 043C36248A9C; Fri, 31 Oct 2025 12:14:19 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH] release/checks/integration: add nc timeout Date: Fri, 31 Oct 2025 12:13:58 +0100 Message-ID: <20251031111358.39096-1-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 74RH6HJGSFFFHP7LJJ5KSLYY4ZZIKUKB X-Message-ID-Hash: 74RH6HJGSFFFHP7LJJ5KSLYY4ZZIKUKB X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Demi Marie Obenour X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I recently saw a transient timeout of this test. Looking at the logs, it seems like, before netvm was rebooted, nc was already running, and that nc never failed, getting stuck. Presumably, if it had failed, another nc run would have connected successfully. Avoid this by setting a 2 second timeout for nc to ensure this eternal hang can't happen. Reported-by: Demi Marie Obenour Link: https://spectrum-os.org/lists/archives/spectrum-devel/f52c1aa7-96c0-462b-9287-0dbbae037e4f@gmail.com Fixes: ae45978 ("release/checks/networking: init") Signed-off-by: Alyssa Ross --- release/checks/integration/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/checks/integration/default.nix b/release/checks/integration/default.nix index 340fb6e..81db264 100644 --- a/release/checks/integration/default.nix +++ b/release/checks/integration/default.nix @@ -19,7 +19,7 @@ let type = "nix"; run = writeShellScript "run" '' set -x - while :; do echo hello | ${libressl.nc}/bin/nc -N 10.0.2.2 1234; done + while :; do echo hello | ${libressl.nc}/bin/nc -Nw 2 10.0.2.2 1234; done ''; }; base-commit: b1bb4e5050b09a8edcafc0cf1b1b9c9ab42832bc -- 2.51.0