From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UPiZJ1XSYGdJOwEAe85BDQ:P1 (envelope-from ) for ; Tue, 17 Dec 2024 01:22:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UPiZJ1XSYGdJOwEAe85BDQ (envelope-from ) for ; Tue, 17 Dec 2024 02:22:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uniJf1v4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=G2+V447w; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734398548; a=rsa-sha256; cv=none; b=ndXx4wF7TCngPO1LjrZImcfzvuTgi0x6fUArG+JUay7kaDdjxw9PL5sHxQJs+N3O7rBQrv r7jlPbTMawDvtEaN95Qi6N7cIEW/5GyHJcNUa8K+SEpb0F2aGCT4fvacrU9NbazdWy5RD2 eVkCc/f+xZZ1mGhCRF9uNqHbzblCxuZ2K7+ydghqfmAGutBosHH0ShefAVVTHE+D7Ef6ZE jmsou6KS5AFsZKP4dj4/qjjRlMMF8Te3wKpIwTazfuE4BYPnm2Yu/3cYU6tv4j5DcqMKlN Q2AYVDmTYldC765WjlgzgmE0/k4Wx84CQTVCfDUPJokatFTC0AHKyvLrCaVHtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uniJf1v4; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=G2+V447w; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734398548; 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=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=r3TQuN+qijJxHoqafz6jICPzaqX1m3VT2OJuLxtC1mfkpzb/qZhNtNTpeDqitGlw3isTIx ICeDpdCCqbfMx5xOEQTAraSoMRKQa1pRrslUqBXGCULqTwGbo+dYn10ngk+9kg6qCBnpsj GsN72ASEX29hBGRNItwfymjhVyddQ7H8DUScPWKCujseh0EpYOWheK8u3Vljy6zZX8Ls1C B7YpEXoitcjkju7h11s4hiD6N+7gpi5GoOHny2zQUlCGpYFuWFs+URiSxnFEJhQw58VoOn vSVYrbeotbhQCxZXW7YlNHCmMfIpVTjRpA/s7UdNnfdOgY2ZZiVCsySfYjYzFQ== 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 9170285692 for ; Tue, 17 Dec 2024 02:22:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNMHo-0001nm-CM; Mon, 16 Dec 2024 20:22:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNMHj-0001lF-Bb for guix-patches@gnu.org; Mon, 16 Dec 2024 20:22:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNMHj-0006tZ-2o for guix-patches@gnu.org; Mon, 16 Dec 2024 20:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=uniJf1v4Et9+RI2StcQANcIAdQODDgngIvMGDinb2OU3Es77FfmfRP0LWxkyPI69xhPrNui4g3fw7t9E6LE0acM8NOd7a7dvf8L9lIcHEVsD/h9v+wW6lgGR/BQOtMJAcoVmoiUrQDVVC5SJL/0AjQqpUxWgVsvrCtHWXmJEZd/hKlGVadUDTptSeEZXwk6gvsZHc9I9EKG+1OlAY+PjQ6zrgcp7n8rE/NQTOiF24eFUX3gXwyCKjeytk1MFGRA4nMszEeW9S2zwu5JSPQD15p0CHeCUog3bnc5fZZzHGfFQ1+YoMjSL2IihY3GVuo+E7mRzMd8qT2zsDWzbnRzh3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNMHh-0006H6-SP for guix-patches@gnu.org; Mon, 16 Dec 2024 20:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73664] [PATCH] gnu: libtorrent-rasterbar: Work around hang in test_ssl. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Dec 2024 01:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73664 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 73664@debbugs.gnu.org Received: via spool by 73664-submit@debbugs.gnu.org id=B73664.173439850824098 (code B ref 73664); Tue, 17 Dec 2024 01:22:01 +0000 Received: (at 73664) by debbugs.gnu.org; 17 Dec 2024 01:21:48 +0000 Received: from localhost ([127.0.0.1]:56837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMHU-0006Gc-E0 for submit@debbugs.gnu.org; Mon, 16 Dec 2024 20:21:48 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:53465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNMHR-0006GS-Nw for 73664@debbugs.gnu.org; Mon, 16 Dec 2024 20:21:46 -0500 Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7b1601e853eso375187585a.2 for <73664@debbugs.gnu.org>; Mon, 16 Dec 2024 17:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734398444; x=1735003244; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=G2+V447w20r6Us7bJ/RmadNGUSkXD6vnSMccO2PdMrkTpcvNQAuO1FZr4IV4jPuLjH JyWLOBwR9d/JRnBb1lqyW1IKI2MJpA0LjomVdlqOadMXy1d04so0S48h1HibA9Mrb14Y wI3oQzWx69enwUR7v4Yfx8Hh/aJO9SLnZ0B7xFHu5boG65pLqo/iWFRdHVVbiexLGD0z EtBoRS7hrPhnie5FnVQRNn5neJ0z7ERuBTEVvsZ75gRa1vtMEX6n9ZZ8bZ0IPHCjwlnE YUlvKCta3McR/RJNnbM8pBeL3LIntV1+THJDqkF3Cw5KYl15TX0IlxBvE3DjM4a6YbrR jzPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734398444; x=1735003244; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Te2FRriSvJzRf4GDlEGv5Xv0c9hO4BJzI/dc3GIjkx4=; b=htblilOOL8cF57CwACW98ottxK1mis3rxQwV36eH8RMcYmMk9/jtyawPMzd/l9MYr2 MqSKmnUprcvFQXpULBRAaXa+M1oDcDiTRzjxDn6ylLI6lXfgjsDmbuOCz8RBU2tfeQ2R RG2L/G36eAIaFo7AocpLS2/SJ5s0K/JdUJT5+oWjwNR2iRFhZKTy7pUhdqYotcZO2suL +WLHkRkLqy5A8TP/qD34NeE9O5deAMc4dEeE9/XGgt5PoJQMQEOBG1Oa9URoirpNRSlx ioWayRoi9pB9HJLZRKIs1kPGeGRMR6njXaTgAI0GI1AK05nWDbo4VtURCQa1EOxhYIFo 6c7w== X-Gm-Message-State: AOJu0YxnfgTqWz9uULEIOaHMm1CzniF1xO82gL85/sSaQYa8sMrqyq3Z aUdF8WUa/k9d2OjVQx93/gfvZciuocVgSkLe8uhtEtrZgGe4c22JNA7CtuBhLHI= X-Gm-Gg: ASbGnctKL7jAEi/YGV3pg6G5YNtPdhjipE/y5sqdVDx7epAE9XxhdcnlL3/DRzDmNFz u6K8Jem+CLcrjMrDtC/taFeF8X3Qnqjv/rS5CpmpoX9MmOTYEq28MWJaM/qQAgriXfxXmhuIjz7 3OTL6DmjEVGrbwiTsHHkE2B31NO2Oz0UgcmmNqZa1p0xRDy0eesab+GqILLW7+5Wcc/kavRCiCx sv3untGXJZCPVcEcyj2Xoqnbv59DFbbMdyD0SStfuhq9wUViyvs0uTELoJeQ9NZbS0yKhzG37gT fg== X-Google-Smtp-Source: AGHT+IHBr41xwQWf69KEWKEekkIeqL76rJw3EE0Wvz3eMJND4AyhbBytanvELXUHFQBrztJO3UQwNQ== X-Received: by 2002:a05:620a:1998:b0:7b6:c4c7:ece5 with SMTP id af79cd13be357-7b6fbf390f0mr1837969585a.43.1734398442698; Mon, 16 Dec 2024 17:20:42 -0800 (PST) Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b7048bbf9dsm273233985a.71.2024.12.16.17.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 17:20:41 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Tomas Volf's message of "Sun, 6 Oct 2024 18:11:49 +0200") References: Date: Tue, 17 Dec 2024 10:20:30 +0900 Message-ID: <87r067rtpd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.09 X-Spam-Score: 2.09 X-Migadu-Queue-Id: 9170285692 X-Migadu-Scanner: mx10.migadu.com X-TUID: TwmjdlK4WhM/ Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > test_ssl does sometimes hang (at least when executed under faketime). It is > somewhat unlikely to happen, and (on my machine) required a build with > --rounds=32 to reproduce it. It'd be nice if upstream was made aware of this problem. Perhaps they could come up with a fix for good. > The workaround is to set somewhat lower timeout of 240s (expected test > duration * 5 rounded up to whole minutes) and retry few times on failure. In > this way, --rounds=64 finished successfully (on my machine). > > At the same time remove the timeout from the other tests, since it is not > necessary (they do not hang), and one of them runs for ~270s (almost half the > original timeout), so it could pose a problem on slow/overloaded machine. This means the tests may take up to 20 minutes, which is a bit too much to my taste. [...] > - ;; Note: The test_ssl test times out in the ci. > - ;; Temporarily disable it until that is resolved. > - ;; (invoke "faketime" "2022-10-24" > - ;; "ctest" > - ;; "-R" "^test_ssl$" > - ;; "-j" jobs > - ;; "--timeout" timeout > - ;; "--output-on-failure") > - ))))))) > + (invoke "faketime" "2022-10-24" > + "ctest" > + "-R" "^test_ssl$" > + "-j" jobs > + ;; test_ssl sometimes hangs (at least when run under > + ;; faketime), therefore set a time limit and retry > + ;; few times on failure. > + "--timeout" "240" > + "--repeat" "until-pass:5" > + "--output-on-failure")))))))) I think that a test sometimes hang is a good reason to leave it disabled, report it to upstream, and reference the issue. The test can be re-enabled when the issue is resolved and part of a new release. So in concrete terms, what I'd rather see here is a report of the problems (requirement on faketime + propension to hang) to upstream, the and an updated comment cross-referencing it (with the test kept commented-out/disabled in the mean time). Does that make sense? -- Thanks, Maxim