From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id 792E11F5AE for ; Fri, 30 Apr 2021 09:24:21 +0000 (UTC) Received: from localhost ([::1]:43560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcPNk-0007v4-Al for normalperson@yhbt.net; Fri, 30 Apr 2021 05:24:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcPNg-0007su-Hq; Fri, 30 Apr 2021 05:24:16 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:57488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcPNd-00022R-KG; Fri, 30 Apr 2021 05:24:16 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KOCNKlN9UKYLDJsKpK5mWEBPef0g8unG9KYA9AqhaGk=; t=1619774647; x=1620984247; b=1RQHgbNaUb/35CSV91Wsk1KZuses1E7jRDFTCJW9/S8oQfVz4zIVUC2Tcm0AWx7YcyZn8tElin uqfiIJcxBsDg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KOCNKlN9UKYLDJsKpK5mWEBPef0g8unG9KYA9AqhaGk=; t=1619774647; x=1620984247; b=XUF57Il5NXSXZumDumf2DrC7VW37LWf7SAiyA6ch5D/ogvNBlj2DSYK+Jp4OboRedgfSBByabE XTaobpCizyjgtrRpPB/EcOgAt2Ud8e7prdS0isfMeXF8FiRC1FwDTXVLLw1md4iKAnVbRvRe4IHvB +PybqiFJE3WxeO64Lprt/Nlb024Kv3o8dz0177YVrrwwC21A6I0icmgVsuTlCpuoShmkFu97K5cSv K/e3rEykGyYd/DCsDobLXkW9GffG6gww7S6NzWhtRrx0imaUc9999Nwt0/jZ6qSWS6bFB3paHrGIM wEOLH604Z9lKLoZr+0GjkHKmZm7aJgdIWGM2FcuUflvQmbICh9hWsvWlzgeC/XsyN488WvHJERGjU B7OdUxdKt6PXDA9fHayU+5SKU2hKAhdC4XX3NmK0DMflwxMV6b4DIu9LDFyaC9cDYHi69r+lOI ; Received: from [2001:9b1:41ac:ff00:6052:f957:257:b242] (port=37742 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcPNU-0000zM-JV; Fri, 30 Apr 2021 09:24:04 +0000 X-Hashcash: 1:22:210430:bug-automake@gnu.org::h4VjgWPlpVskG65K:wsvp To: Bruno Haible Cc: bug-gnulib@gnu.org, Marc =?iso-8859-1?Q?Nieper-Wi=DFkirchen?= , bug-automake@gnu.org Subject: Re: Module suggestion: timeout References: <1734109.oLkUVmKVoB@omega> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:210430:bruno@clisp.org::7j9yWyP0dbbyy161:549 X-Hashcash: 1:22:210430:bug-gnulib@gnu.org::xbWAxOlBCFG5Xa24:Fb/0 X-Hashcash: 1:22:210430:marc.nieper+gnu@gmail.com::itz/lBksf/3OjcXx:IzKZ Date: Fri, 30 Apr 2021 11:24:04 +0200 In-Reply-To: <1734109.oLkUVmKVoB@omega> (Bruno Haible's message of "Thu, 29 Apr 2021 16:19:23 +0200") Message-ID: <878s50dt1n.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Reply-to: Simon Josefsson From: Simon Josefsson via Gnulib discussion list --=-=-= Content-Type: text/plain Bruno Haible writes: > So, I don't think the "let's treat timeout like valgrind" approach is going > to work. Instead, you need to design a way to deal with timeouts, independently. Hi! I think Marc's request for functionality to introduce timeouts for self-tests is a good one. However I reach the same conclusion as Bruno, that having a module like valgrind-tests is probably not the best way to solve it. To me, having a timeout seems like an essential feature of a self-test framework. I know automake isn't primarily a self-test framework, but it has concepts for it and the test framework has been improved significantly over the years, so I think adding a timeout functionality to automake makes sense. What do bug-automake people think? The functionality could be conditioned on the coreutils 'timeout' tool, and if that tool exists, and appears to work, running all self-tests under that tool could be done automatically. The default self-test timeout be quite generous (say 17 hours?) but it should be easy to modify both by end-user and project developer. If we want to be conservative, the functionality could be opt-in initially, and then after a few years become the default behaviour. Thoughts? /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYIvMtAAKCRBRcisI/kdF om14AQCXnOBspKT/IpkVwC/4r3v5vL/QlydF4+VbC9Ft6YCsdwEA53OeF4eusvdL BPv2B8ggNDJhcB/C+G+JQYYlhThqJgo= =7+7v -----END PGP SIGNATURE----- --=-=-=--