From patchwork Tue Jan 17 03:56:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 643393 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp951271pvb; Mon, 16 Jan 2023 19:57:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXse4bRdLSAepXLt9MuYsDRI8ASUjDC9PuyqjxP+oQqIBwOmvSTME/tjwcH/Q/BHFQa7dZpy X-Received: by 2002:a05:622a:a09:b0:3ac:fba0:cde with SMTP id bv9-20020a05622a0a0900b003acfba00cdemr2030996qtb.22.1673927866500; Mon, 16 Jan 2023 19:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673927866; cv=none; d=google.com; s=arc-20160816; b=ckFlWiNQHO20KeXg5FmE/iVXmKt3eVtlquTGSaAedZZpOtXowbTkc1zjZuDeJZS/+3 qdJnfRnw5EmXDjmlXdN9iKcZLXjUNY2sOVCCuk+mtGGsPu/8C5/nCwVLNivTPMNFOSl3 geggWkdk28Ki7c/lTnSF5YGQezUC3mrxq7cM/KgLz0cBvKoTuYkHCMTEpIqcM+DsqmoU dzfdW78jJUlHM9jWJf+VXhUy73hLFntNpmLhGsUNgahZJX/VJ5SM58pHS3ef1FcnRHEg yyj71NgrVJKmx104wZ+7ugatKv4/SDzDxc/ifp9hQbVW6kJhadDzVVWDSz+/VtQ3TV3F wrKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m6MPxEUMXrC89FYEjdJ+17kvnFvsaHy/DYKnQJ+XOEw=; b=BTPvCVJLxSd2qT7bzrsWkd+hY0ZpDRYNN1xv7p37D3OEVydYKJNY1YazNpW1s5e5ad os8m99BHMDJlq0ttosPtHDnpOkmF6x2yHU2+vX1HcWbD9aOQaZ9lcQgSXqE/ngCwgxKW xEZ68K6MOojmJYRGbdmVS0/tdySSFYwKM+Z+MHl0sKOgG1JJH3A+/a2bcC7hbMwXtw9Q 96wjv533FVc/zAB8tIkdHSsxolaxUnoD5yQPmNBbjHrCCiE8WL2rPbzxtSORk4abjt9d AFD/IBhgaC/9zO1sUXkCZEyzGa8+8qQq/jnDzX889NITnwIE5YUIW0jJK1JjW9IplWWm 8bnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KKjEzz/4"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d62-20020a37b441000000b006fcaae20037si16988214qkf.741.2023.01.16.19.57.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jan 2023 19:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KKjEzz/4"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHd68-0000Vd-84; Mon, 16 Jan 2023 22:57:20 -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 1pHd62-0000Rv-P6 for qemu-devel@nongnu.org; Mon, 16 Jan 2023 22:57:14 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHd5w-0005dy-QB for qemu-devel@nongnu.org; Mon, 16 Jan 2023 22:57:12 -0500 Received: by mail-pl1-x62a.google.com with SMTP id y1so32268399plb.2 for ; Mon, 16 Jan 2023 19:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m6MPxEUMXrC89FYEjdJ+17kvnFvsaHy/DYKnQJ+XOEw=; b=KKjEzz/4dd13/uDD9dlBwfeDYngrfh/knUixTMF1xclJe5anDN4uunnKoaQRc2NO7C q/Q8hz4T/SuEr86gzz7dg9uUpvbmvMtgs92+ZLBMUY1sUrb3ENmMxXtudic0xG71vX/W sN/yYFjV/sZjynbBQgPa1OlvegpjrhfLLbJ/R7UcN53D3vISIR8QAujRcnZ4rrS9V09J 63GXVRB+w++L0kW00LFXkIT1OZSgDwVV1eSAFk/+Kcf6972y003QHkbMca9DCKFzBNb5 PqTEuMjNJKS5coW/HF6bbt2ZF2xQrX2TLDMw+KuWpFCDzlCpq3gq0535+uF4aVcPrGVe 5xow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m6MPxEUMXrC89FYEjdJ+17kvnFvsaHy/DYKnQJ+XOEw=; b=Zzu/aJxKLxzqxKDNSaUtdJeC7E18iHdNWFQ20aYgvM6kkjZboCO11EupuhC4sZU9tE 9srZevzXcqcC6sVHNmvUv8X9C9C1tPSKu0EO2bF0u/7uLYf74R3cTxiTpybo0sdT/8dZ oFvP/xD58AOW4+3j2jxsPUHY4SNrixSWjxxXvWvYWPJ6v+t82kKa1wSBsj9a9AfK8Iow vpOCZHN9B3APl9DlKNO+U8/51RXK07L+rbtI7NnKxnHMo3n0wMFPjaCOYFuWSrhfAwm5 Smt0zL1wUd9R4N7Gu6/7OwRNLrOfBQMKQTyJNa1SzfmEDyUC326rdjNiF1CcXSRvcikr SVbQ== X-Gm-Message-State: AFqh2krNUJq1UrXeuXePwGlH8a0TeZ3PK5pkrX4SuBFkay02yNKR4mr8 ZDUyGW6eviY53W1DOyCmOcpXByCg+U2BIWvf X-Received: by 2002:a17:902:bd85:b0:194:9984:8085 with SMTP id q5-20020a170902bd8500b0019499848085mr1770539pls.40.1673927826034; Mon, 16 Jan 2023 19:57:06 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id z15-20020a1709027e8f00b001869079d083sm19991531pla.90.2023.01.16.19.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 19:57:05 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: alex.bennee@linaro.org Subject: [PATCH 1/3] tests/tcg: Use SIGKILL for timeout Date: Mon, 16 Jan 2023 17:56:59 -1000 Message-Id: <20230117035701.168514-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230117035701.168514-1-richard.henderson@linaro.org> References: <20230117035701.168514-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org There are some tests for which SIGTERM appears insufficient. Signed-off-by: Richard Henderson --- tests/tcg/Makefile.target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 14bc013181..a3b0aaf8af 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -54,10 +54,10 @@ cc-option = if $(call cc-test, $1); then \ # $1 = test name, $2 = cmd, $3 = desc ifeq ($(filter %-softmmu, $(TARGET)),) -run-test = $(call quiet-command, timeout --foreground $(TIMEOUT) $2 > $1.out, \ +run-test = $(call quiet-command, timeout -s KILL --foreground $(TIMEOUT) $2 > $1.out, \ TEST,$(or $3, $*, $<) on $(TARGET_NAME)) else -run-test = $(call quiet-command, timeout --foreground $(TIMEOUT) $2, \ +run-test = $(call quiet-command, timeout -s KILL --foreground $(TIMEOUT) $2, \ TEST,$(or $3, $*, $<) on $(TARGET_NAME)) endif