From patchwork Tue Oct 9 14:20:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 981306 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-96305-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="mraSwWAy"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="fQ9qG/ET"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42Tzt22WF4z9s7W for ; Wed, 10 Oct 2018 01:20:58 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:mime-version; q=dns; s=default; b=S+EGVRo++K2PfSsi jGi5PUuisv0N8JuXoL0CND8Jal6UxXv/Oc03RIJ7SydlNExKIs6EutRdsuX5UqeH B2Qk4yo7kyH3abRpL+RbYPCVERIDzxWnm4AwYPMFuO/IuF1749MkSDzcEb7JXrOS jDF7N3VL8Nzfn50nqLnSCrk/8W8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:mime-version; s=default; bh=PASDe3rVFbtbN5dEK8V+NF LrzHU=; b=mraSwWAyR29MOn+dmxvwD5jtbaJ/Wb7H4zO424gfPNB6tg6BnjMhtl LndFG4VOea3gcOsBYVHgcBPl+VXRmBPO5R2FSW14bmtwWB6FXv/UySzpJwgWpxVk UF6pyFg7oWmfs/p+EqZRP79T1r0RIVruPGZ+GOTo2skAXsnEn1abg= Received: (qmail 19625 invoked by alias); 9 Oct 2018 14:20:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 19616 invoked by uid 89); 9 Oct 2018 14:20:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:744, million, HX-HELO:sk:EUR04-D, H*RU:sk:EUR04-D X-HELO: EUR04-DB3-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fYMO4WX32QgaTGx5SoYRUom7apqMZLTXqpNsQsMAKMo=; b=fQ9qG/ETVYJgRO2TUV9xJJyen8WPi+06KoAeug4XKj60tQxx0DNFUo7B496uyaeJ3vGXHz7XqSJ7EVqqY6TlqGGaE9509RyAk3ZnVThtGUnQBfV0k4wB2wMosKwEdl0G6tKGWMiiRycsidv9LbmXrNvO1ZP2n5QPOV8AstUEpH8= From: Szabolcs Nagy To: GNU C Library CC: nd Subject: [PATCH] Increase timeout of nss/tst-nss-files-hosts-multi Date: Tue, 9 Oct 2018 14:20:42 +0000 Message-ID: <619b0777-063a-5fd9-9a61-8c387c4d3dc7@arm.com> user-agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) MIME-Version: 1.0 Increase timeout from the default 20s to 40s. This test makes close to 2 million syscalls with distribution: 1180249 connect 297952 getsockname 144040 lseek 143734 read 14466 close ... connect can be slow, so the default timeout was not enough on slow systems. 2018-10-09 Szabolcs Nagy * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define. Reviewed-by: Carlos O'Donell diff --git a/nss/tst-nss-files-hosts-multi.c b/nss/tst-nss-files-hosts-multi.c index a4edb3c036..21f678d93f 100644 --- a/nss/tst-nss-files-hosts-multi.c +++ b/nss/tst-nss-files-hosts-multi.c @@ -327,5 +327,6 @@ do_test (void) return 0; } +#define TIMEOUT 40 #define PREPARE prepare #include