From patchwork Wed Feb 17 12:19:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 383845 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp2759328jao; Wed, 17 Feb 2021 04:22:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRTOBn+dY4UmpPASIeEvRWS9ahsto8B63DxrjgSBKbogFMWvMlRUNPHpOb2Ypg7J0Nz6ku X-Received: by 2002:a25:3bc3:: with SMTP id i186mr37047006yba.157.1613564536637; Wed, 17 Feb 2021 04:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613564536; cv=none; d=google.com; s=arc-20160816; b=K7vtrcMRzS3R8AqFOr25CEhE2XG72oQjMYcGC1DIEH6A6/42rdv1mMDdZvvAYKbViu bMvTlTpsKbpo7d6aIXB7SHEQxB/w4k+Y2RrViUlbm4D6Q+7o0GM8YJ3UeWQnCr1NVHXG b8EroLHiioTBvprRf4HEE3Zmdpg2Wysq1n5fAw4ad13aR6YDNuqQC4+YyjDci06xjt7M WXRf6GeReg0evcxfIiApmVNh6eRJvc1Zik/0q4rxHe4r+4NLQm+jviKlAowtpYPCRFLe 4iupQEjLHdaffG5/VVdqMSOfOP9w/7wpfq+wMt9cAP1zyRwdC4e+YJ42bIu46t6ck+sl Mp0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=xGOq+H9AOLX0RoZqFCkiJAoX0PwPDAbgocinnAmhldc=; b=OOz3ZgdQTVpEHabfJP5iuusqywaCzLVK2CSAoYTR2dtODHu2wu6URgN5rvv6RHq8jy 6McpCPMwWgBXuUi0U60rZTcAtAkWptap31M4QGqFF7SlwiJhyigq5QOjm4/r0B8PRa7X TMV0V5y5rqjQ8YqCpSYp5qIRJ+hR7P9VD8ZzkSSU0G4HCZ8OZpP7PNb5QgkMJnlJ+yox OA2ExYgpz2ugRDt/HkzRu/EYLz6wQhk1dM5pdW+OG5nzdaDJJXkKDlp0+fOVmCf19eIu P/SC2KUkjoOjWWZgd4ZBnEKy5eexQMvqlzk4cVqyYbPHKIb/R2EeIcZrz+pA+kzgu4gV 7VnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=njz5qyRX; 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=fail (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 n22si2253564ybg.348.2021.02.17.04.22.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Feb 2021 04:22:16 -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=fail header.i=@linaro.org header.s=google header.b=njz5qyRX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCLqS-0006BV-42 for patch@linaro.org; Wed, 17 Feb 2021 07:22:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLoC-0002ZB-A8 for qemu-devel@nongnu.org; Wed, 17 Feb 2021 07:19:56 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCLo3-0000K9-8D for qemu-devel@nongnu.org; Wed, 17 Feb 2021 07:19:56 -0500 Received: by mail-wr1-x431.google.com with SMTP id n6so17150585wrv.8 for ; Wed, 17 Feb 2021 04:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xGOq+H9AOLX0RoZqFCkiJAoX0PwPDAbgocinnAmhldc=; b=njz5qyRX7LkDEW0M+nxbH8al3WSH+yC8vtt9bLhxD7QaJ8a8vdm6qwigAIZCDZLLfG qrPqkiKbjn+1uU3Jv376I0imSu6VUsjiXe4JXKJC4Mtq5VDpKToGskH+6SQXMVSaj+cP naErzwZASJwisZcG8bVNw8ou91t+wX5jPwgcXnHm+B/bMfnvOUsAWWCEQ2bHquXVERox KLKyvCRxHPhuckhJsL0mNUt8n3U8OvMtuGcTQ4hFOI95KYIjZ5YTmbSoo5Noyfc0Ol9w wRQjvz7UB9jnt8hytySoIMVB1Fe+JRnIoCCCPt6dTIINTQDPNoE3RjIs1Cj8gxOXuyCD +OsQ== 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:mime-version:content-transfer-encoding; bh=xGOq+H9AOLX0RoZqFCkiJAoX0PwPDAbgocinnAmhldc=; b=eWnLkEPm7vCJ71XxI+d/I76kyrcWDoqqSU1YaZ27RmgyLSCcy3RpdSF4srTFT1A4AA iBj6SDEUwLwUlHDM06kO1MUgoNzc09goLU3vX79SQxFX7qaydNqI26/0phuNgk5Tz5s3 bnBM5fT4e/0N9i2xfzJZhOi7it4t4pgJOpZVXy/nkDxXpe7o4eLUEUBBSJ3Yr56HBjo+ Kwn9JFKGySNrML60c02RtN5XtFQ2SpSrwVw6Hbpgt9Zt0j1vunfSCxbkdGqizp7yvJqt /E6vlrm23P2+cfVo8qlQoWTLiv8MLoyUmpZy9nPrwJtIaga9UFbTdXjPS2hQX/Xi5eGV Ywsg== X-Gm-Message-State: AOAM5335cCE6Zib10M4mrk8BNn8L8nDWVHJ2Yxbrakezi5ujeynfGy0G fvxpT+8sE9yTSYFbvsWj9iBBEw== X-Received: by 2002:adf:ea48:: with SMTP id j8mr28912206wrn.197.1613564379632; Wed, 17 Feb 2021 04:19:39 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f14sm2682216wmc.32.2021.02.17.04.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 04:19:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EC8511FF91; Wed, 17 Feb 2021 12:19:32 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 5/6] travis.yml: Limit simultaneous jobs to 3 Date: Wed, 17 Feb 2021 12:19:31 +0000 Message-Id: <20210217121932.19986-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210217121932.19986-1-alex.bennee@linaro.org> References: <20210217121932.19986-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , f4bug@amsat.org, stefanha@redhat.com, pbonzini@redhat.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Even though the host machines that run the Travis CI jobs have quite a lot of CPUs (e.g. nproc in an aarch64 job reports 32), the containers on Travis are still limited to 2 vCPUs according to: https://docs.travis-ci.com/user/reference/overview/#approx-boot-time So we do not gain much when compiling with a job number based on the output of "getconf _NPROCESSORS_ONLN" - quite the contrary, the aarch64 containers are currently aborting quite often since they are running out of memory. Thus let's rather use a fixed number like 3 in the jobs here, so that e.g. two threads can actively run while a third one might be waiting for I/O operations to complete. This should hopefully fix the out-of-memory failures in the aarch64 CI jobs. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210217102531.1441557-1-thuth@redhat.com> [AJB: add comment] Signed-off-by: Alex Bennée --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index fc27fd6330..4609240b5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,9 +86,11 @@ git: submodules: false # Common first phase for all steps +# We no longer use nproc to calculate jobs: +# https://travis-ci.community/t/nproc-reports-32-cores-on-arm64/5851 before_install: - if command -v ccache ; then ccache --zero-stats ; fi - - export JOBS=$(($(getconf _NPROCESSORS_ONLN) + 1)) + - export JOBS=3 - echo "=== Using ${JOBS} simultaneous jobs ===" # Configure step - may be overridden