From patchwork Wed Aug 22 21:10:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 961063 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TflaYPLr"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41wgFg4H1Lz9s0n for ; Thu, 23 Aug 2018 07:11:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6842087727; Wed, 22 Aug 2018 21:11:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQgG8KUIeIAI; Wed, 22 Aug 2018 21:11:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A5606876F7; Wed, 22 Aug 2018 21:11:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id AD8921C1217 for ; Wed, 22 Aug 2018 21:11:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5336686781 for ; Wed, 22 Aug 2018 21:11:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gAqYEsjOJt5P for ; Wed, 22 Aug 2018 21:11:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7F5B8867C1 for ; Wed, 22 Aug 2018 21:11:05 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id s12-v6so3229537wmc.0 for ; Wed, 22 Aug 2018 14:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=pzL3pP9jiTw6sQB4ySqwsI1lIvQT30THkpjCD/BntFs=; b=TflaYPLrsQvdC7rCWXbuheZCaenFOdcxdjVg7epmyiyuSHuONsG7twwfDBfTelzqCN cNBzmcouDz9kMc6Mqg4Sm0+YDWkRQcI0ey9y2vBOupH0MMTo/SOuw63t5l8ZoVQMI2aq p6cp7niWhMkGokP7AraTqxToGPNSHspoGruh9jSjJTxuOa2tiVeDVVAHmgrHaOoZJVO0 AhY/MN0hjvdOev9hU/hvjUcopjlDKXT19u5XjL+EEnoC+xJiEws3BEGnF9PGAVNHPKNv kpKm84X/fNQ+KJb3oEDtvFrYJSwzJ++XTYvayP40IVAlEKDRU2kmzBjrqOKBSDe1fIOf RYPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=pzL3pP9jiTw6sQB4ySqwsI1lIvQT30THkpjCD/BntFs=; b=RVFB4EltRZc1D5u3K7jF/VupuIKtCjN/IZlZVASlv1OsJl0roQTuOfDIge3HUeoQaf ibJxDm+R1nOWElM8rjT8/u8RSz+tyGeWlKF9bSJJFLWfKhFs6HVCsw2ATJm15oPS9OZv cTEhYNQAftDPWEcKSCif3ZNma24KVqGWk9somyAwFr+T0J1lpAzQlujGx9r/1CgrhN+r P0PEPVpIODXhZ3ho/NUHT8C24A8Iymy27KsMrT88APT8auYkOMop6vhhW88uaMYKXlnp ZNq2tgYLWQZ5hB2rQojnQg5VLyPIkBSyCpHb7kiFse+X6ltk2OdQcbOFeTJUh+d4NasU KtcQ== X-Gm-Message-State: APzg51Dpixh97hPX4tVZUObwHLnIphohV/Gwvn+/sN1pA8PuW3oPOx8K b68/Z0CZeS6uX7elxZFuwxb/Y9aw X-Google-Smtp-Source: ANB0Vdbbwp1UuhI3B5Mss+Unz8GZumgoq3hE38CYbWoaKI5BMaLWlO+K3gfXOWv+xz/yEhMy3NKIKA== X-Received: by 2002:a1c:f611:: with SMTP id w17-v6mr3226752wmc.143.1534972263823; Wed, 22 Aug 2018 14:11:03 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb08861073009c77937a9139bfde.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:9c77:937a:9139:bfde]) by smtp.gmail.com with ESMTPSA id z14-v6sm2691971wma.18.2018.08.22.14.11.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Aug 2018 14:11:03 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Wed, 22 Aug 2018 23:10:58 +0200 Message-Id: <17a71c0c569e1b66a46ef40f14f07db8adf847b9.1534972250.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 5/5] utils/genrandconfig: add a 30-minute timeout X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hollis Blanchard , "Yann E. MORIN" , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Some autobuilders seem to have difficulties downloading big git trees. Sicne those are autobuilders, they only test known git sha1s or tags, so they eventually get cached in our primary mirror, and thus we can expect that slow autobuilders can eventually fetch them from there. Add a relatively high timeout, so that those autobuilders are not stuck forever in downloads. Should fix autobuild issues like: http://autobuild.buildroot.org/results/ddb/ddbc96b24017f2a2b06c6091dea3e19520bf2dd1/ Signed-off-by: "Yann E. MORIN" Cc: Hollis Blanchard Cc: Maxime Hadjinlian --- utils/genrandconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index 27f84ea555..2dbdc2ccf6 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -353,6 +353,9 @@ def gen_config(args): # Allow hosts with old certificates to download over https configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"") + # Don't be stuck forever downloading big git trees, timeout after 30 min + configlines.append("BR2_DL_TIMEOUT=\"30m\"") + # Amend the configuration with a few things. if randint(0, 20) == 0: configlines.append("BR2_ENABLE_DEBUG=y\n")