From patchwork Sat Aug 5 02:05:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Martincoski X-Patchwork-Id: 798136 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=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="u8ZFJzx5"; 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 3xPRx63M7Nz9tWL for ; Sat, 5 Aug 2017 12:06:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9169F82F68; Sat, 5 Aug 2017 02:06:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cBvuTy--rgCx; Sat, 5 Aug 2017 02:06:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C76E782DE1; Sat, 5 Aug 2017 02:06:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A01871C411E for ; Sat, 5 Aug 2017 02:06:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9AFFC82DE1 for ; Sat, 5 Aug 2017 02:06:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5wBGlzF97keb for ; Sat, 5 Aug 2017 02:06:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id 57E7582DB5 for ; Sat, 5 Aug 2017 02:06:25 +0000 (UTC) Received: by mail-qk0-f195.google.com with SMTP id d145so3162533qkc.0 for ; Fri, 04 Aug 2017 19:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=9pAvpfpDrWgGCwsnpWyRNiIsiuDdH5rEMMSnRaduFcw=; b=u8ZFJzx5JFBZaJU0m2v39TnvLpAc3v2FL7xIfFRcSaBgxL8+ENPHK4rMSixrWlUiVA LxVH5FJOifQRDoNmjPgHiWbtAjXyYeRGaH/kPyGp54IbS4gHiUYWRn4ouBkqu3HWbG7D wqEu6eeWEmBGEUUQibTiH67b7TuEKhIDkMt0blrDQpBfvgwt1mOYC/LbQ7mtbq8DP0AU BM3ALP3Wb4xvXkn6svGT8nA/4L+k3nxWHuSBGqhJ6jzpQiXWgpGR13VQh2Gzwu6YFous yueLVordjKCCTR3uIxrEFsS58Q6vDfs41IFVMu0Zi83LxJ1GIz+Tv9LZExv/yBoQ7G40 rqAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=9pAvpfpDrWgGCwsnpWyRNiIsiuDdH5rEMMSnRaduFcw=; b=XCpVKywIGfNCVYuxRAcU6kFw2BN3DES1Eipe1elBjssOzw6EMw09XQvKfO2k5zyAbe UR4HuRgBCWdA/iLTaq5G46zI+eaoRCQR2qW9lNuqEhIeX6jcdGym6YlGJldzyQ838o8t WJa5LvS8updD69klADEbmfE7n0bOC0mTni4dEWhLFF5S/xf1lc5jFOsMkD4YKEtRCyf3 DF7ZMAfucGUUtgfwvRDcQVdu64/0PEQZ9lww4e1JB9haKM/MV3+ZIzVPwTaZZH29FV8Q /b6XORogkGfKTG04jRk5sIR1Ylr1JirFVK87qINCc6SFK+uexnwUh6Zep6HqBJva888M hwTw== X-Gm-Message-State: AHYfb5i/6KtfURsTPnGGD1YsHWkMc7ySX+3Mlm5xAxNe5T9vlkabdihi R2H7Oe/uwSc7v2Of X-Received: by 10.55.77.65 with SMTP id a62mr5147842qkb.321.1501898784225; Fri, 04 Aug 2017 19:06:24 -0700 (PDT) Received: from ultri3.home (189.27.253.207.dynamic.adsl.gvt.net.br. [189.27.253.207]) by smtp.gmail.com with ESMTPSA id y133sm1911584qkb.71.2017.08.04.19.06.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Aug 2017 19:06:23 -0700 (PDT) From: Ricardo Martincoski To: buildroot@buildroot.org Date: Fri, 4 Aug 2017 23:05:20 -0300 Message-Id: <20170805020520.4925-2-ricardo.martincoski@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170805020520.4925-1-ricardo.martincoski@gmail.com> References: <20170805020520.4925-1-ricardo.martincoski@gmail.com> In-Reply-To: <20170730044946.11999-2-ricardo.martincoski@gmail.com> References: <20170730044946.11999-2-ricardo.martincoski@gmail.com> Cc: Thomas Petazzoni , Ricardo Martincoski Subject: [Buildroot] [PATCH v2 2/2] .gitlab-ci.yml: use large timeouts for runtime tests X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Multiply the timeouts for emulator in the gitlab runners by 10 to avoid sporadic failures in elastic runners. Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Signed-off-by: Ricardo Martincoski --- Changes v1 -> v2: - use --timeout-multiplier instead of -e, as it changed in v2 of the previous patch; Sample pipeline using only gitlab runners: https://gitlab.com/RicardoMartincoski/buildroot/pipelines/10605884 PS: for this other sporadic error: ERROR: Job failed: execution took longer than 1h0m0s seconds https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/28241402 see https://docs.gitlab.com/ee/user/project/pipelines/settings.html#timeout --- .gitlab-ci.yml | 4 +++- .gitlab-ci.yml.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90efd81e50..19335d7bfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,9 @@ check-DEVELOPERS: .runtime_test: &runtime_test # Keep build directories so the rootfs can be an artifact of the job. The # runner will clean up those files for us. - script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME} + # Multiply every emulator timeout by 10 to avoid sporadic failures in + # elastic runners. + script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME} artifacts: when: always expire_in: 2 weeks diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index b8fce9ef96..3abf7d5313 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -49,7 +49,9 @@ check-DEVELOPERS: .runtime_test: &runtime_test # Keep build directories so the rootfs can be an artifact of the job. The # runner will clean up those files for us. - script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME} + # Multiply every emulator timeout by 10 to avoid sporadic failures in + # elastic runners. + script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME} artifacts: when: always expire_in: 2 weeks