From nobody Tue Feb 10 06:26:23 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1613564620; cv=none; d=zohomail.com; s=zohoarc; b=is8tBGYPGrX0cLL7U31yemwCqNl9HM7Gd0LiXx+QFDNPu0Tj29xWPvAv1w0YKDC2e0RGoZ18TjwjES6orBSpvdrnLa5IqmPvoSVVE0SZWUJK60h2gnKaznCbCoumdgrDK0b9uc5DfpmEmgfYB8URxUW5QhCM+m8o4wD7MlwXcwE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613564620; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xGOq+H9AOLX0RoZqFCkiJAoX0PwPDAbgocinnAmhldc=; b=ARSAvx1vEY1Wt6YkyquNnuGn22i+5621kwed7t2mQbXHOBXuY6kdrXO4J3ZjcypigRqQOo9ZHdri499CBxc09FZ6g375D4rtKQrPVjjFgCxK6e4Gmy3JpNrXhZjp8Z29xDuaASOBqkjX20sV0Pghg8PMefxTsIaM62WU7oPWQL4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1613564619610360.0532121396401; Wed, 17 Feb 2021 04:23:39 -0800 (PST) Received: from localhost ([::1]:49120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCLrm-0007Wh-Hf for importer@patchew.org; Wed, 17 Feb 2021 07:23:38 -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) 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) 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-Google-Smtp-Source: ABdhPJxSgPeug6UolZqj4dOoeJW+1cNeZuOiigQrqrNQpldWFiYVDeWo6qSp4U3+lUfnJnLlL0sPLQ== X-Received: by 2002:adf:ea48:: with SMTP id j8mr28912206wrn.197.1613564379632; Wed, 17 Feb 2021 04:19:39 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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=20Benn=C3=A9e?= , f4bug@amsat.org, stefanha@redhat.com, pbonzini@redhat.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9 Message-Id: <20210217102531.1441557-1-thuth@redhat.com> [AJB: add comment] Signed-off-by: Alex Benn=C3=A9e --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 =20 # 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=3D$(($(getconf _NPROCESSORS_ONLN) + 1)) + - export JOBS=3D3 - echo "=3D=3D=3D Using ${JOBS} simultaneous jobs =3D=3D=3D" =20 # Configure step - may be overridden --=20 2.20.1