From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 14976297406361009.9405609118495; Fri, 16 Jun 2017 09:15:40 -0700 (PDT) Received: from localhost ([::1]:59769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtuL-0005ST-9H for importer@patchew.org; Fri, 16 Jun 2017 12:15:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsh-00047e-6F for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:13:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsg-0002fm-AG for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:13:55 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:33503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsg-0002fg-6Z for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:13:54 -0400 Received: by mail-qt0-x244.google.com with SMTP id w1so11250132qtg.0 for ; Fri, 16 Jun 2017 09:13:54 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:13:51 -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 :mime-version:content-transfer-encoding; bh=RSj9lfiTbQbEls2B136L9CGlTWItrpoaymYvNYMTjoc=; b=FNoo+1Aj3zCu2MVrjHxBclrFH7+8JUMl2/YcMgVRjS036LicC7iy1p4m2/XLLIRGBc c4qw492o8DvEcPNih8TiHw57pq2+vhgdVX11vs21Sz6lZVo+BQ4lOAcn7jvSbwsXawC0 Pf6cJNKhfJ7NyMZrM6bTxZOAesfExwYFHO5O3NK1ENiUAaN5CDlxST2oaXJVje10Cdo1 HDLsa755BMDJiBwYaKhyM7PynG8/wKVX5hUjKN7Zf/Uf9D92tF2vhHMyfVWDkrLjOGI7 GVtDigpAUFzlypidMi8BsSX5RleOUmRp+n2+J+opyojlIFZhX5dy19eME2pmnHrgZM3v 7fjA== 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:mime-version:content-transfer-encoding; bh=RSj9lfiTbQbEls2B136L9CGlTWItrpoaymYvNYMTjoc=; b=iVZKQL8eRc+jD03ehiIvJa+dDYhr5a0uNzL2YZnyaTAGGlyRP/7vEZMx1Gmd7NWAIH ZE7j+t2SzOzXE3R8CI9DVxG5AdP40VxRIX4G1mDU6uE69hCu9XSw89JOEAtWgUOMmyoz yqG+KrdHM+ilbh36yj5TeGntt7fH2t/FE4t5tFTJEW/biyAzwfs8+JhpCGdinkcjmOlr wq0b/r0/h3AsWSEzzHHgRLY/3UCRiTCS9Z3VUEqvgk0DafLUpgZ06RZFInn9MMfZ8TSA okKr71Wsp5Ttw2sqF/isF8iY/zvIhJgHhXp3E1WlWFMC2lE4rieqNXHC4zEm107VJRWB tBXg== X-Gm-Message-State: AKS2vOyf0KuEv+puOoH+ML0GcaXDXqUt2c3TSIjQmmvWPNrIGRMFkfTi SfAKTfQ+QbJB55IjRvo= X-Received: by 10.237.62.115 with SMTP id m48mr13741498qtf.179.1497629633369; Fri, 16 Jun 2017 09:13:53 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:24 -0300 Message-Id: <20170616161334.7492-2-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH 01/11] travis: build using all available cpus X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 no improvement as of today, but if Travis release their limit on the openso= urce plan or upgrade their hardware the builds will get some benefit. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 27a2d9cfb3..d21a2a3602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,7 @@ notifications: on_failure: always env: global: + - PARALLEL_JOBS=3D"$(($(getconf _NPROCESSORS_ONLN) + 1))" - TEST_CMD=3D"make check" matrix: - CONFIG=3D"" @@ -64,7 +65,7 @@ before_install: before_script: - ./configure ${CONFIG} script: - - make -j3 && ${TEST_CMD} + - make -j${PARALLEL_JOBS} && ${TEST_CMD} matrix: include: # Test with CLang for compile portability --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629742462988.5511237155029; Fri, 16 Jun 2017 09:15:42 -0700 (PDT) Received: from localhost ([::1]:59770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtuM-0005UK-TP for importer@patchew.org; Fri, 16 Jun 2017 12:15:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsn-00048g-BP for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsj-0002gB-3S for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:01 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:36008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsi-0002g5-Vw for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:13:57 -0400 Received: by mail-qt0-x242.google.com with SMTP id s33so11302299qtg.3 for ; Fri, 16 Jun 2017 09:13:56 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.13.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:13:55 -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 :mime-version:content-transfer-encoding; bh=DSgi4GjLJGh4h4VozT2Eia81cYgx80Otout+GaUm62c=; b=flMvFWAGXXzvR0jDmV/y+aBQR4VxXsfWrSngmQGByX0Si9wpZZskVz3aUZ/fvRMHZX 8/75+etMUkTCSiyPGoTppahxERxHiFLrm/9BJ6hmkZJDEvlMjkZALJVtEvhkgIfrTpCB tVLgbK7vUL0gYTjeOvqRzEInlybYI5kG7WJD4PqEsjJlTG30NxfHNSrzCsmQtz9gT4+9 ZDTjOvhESVkv3tkPReQxKv/sNsaU/DWPMt3G0gL2+M1Sh1zFuKl8ilp1OS5MuNR0yxAe YPskARYqqCZussQAgLTvknWM1p4TPGYcS+3IFvtQxaYDwNy2As4pJQYEi7FDWdT/Xo8f BFdw== 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:mime-version:content-transfer-encoding; bh=DSgi4GjLJGh4h4VozT2Eia81cYgx80Otout+GaUm62c=; b=LQ6vW/ORvnwdDvBM3CqcLy4iWoQ2JKnrbhP5bYqk4S0OzEUoSnWPsJxYWkHEyFwEdO 6qHmnsyzZlHzKh50Q5J5mlahmW2g5PqTtE1P+W3WaMtjOgcHAys2rF1IYQnSETjzG3Lo nnxNlMjFQTQK9VwQlaO5qA7lO2h/iRw1jS/uL+uHaB3rVnNFexF2PV43S+1NZIuBiCkw Bw59Rld2m0Vol5mAd2eyBfCfV9JNtUAmgq+bpcJHuBhQks2uZaeH0nhG/Ygu8SX5+cp2 Gg/YhxXoKEnli0e1Uok6Fj8Ju/HgbQN0L5+sItGd73i7F+t4x3WbvYTZjKIZpjsZZufv gg8w== X-Gm-Message-State: AKS2vOwsFgtBaAT8MNj93wgQ1pC9Mq8Yc9KVOErD95ANyO+QWK16nhdo BN/mtL8bA1/bWSuolbw= X-Received: by 10.237.55.228 with SMTP id j91mr14127744qtb.68.1497629635785; Fri, 16 Jun 2017 09:13:55 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:25 -0300 Message-Id: <20170616161334.7492-3-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH 02/11] travis: split building/testing to have finer elapsed time X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 to check each step elapsed time on the travis output report. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d21a2a3602..b2c69fdd59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,7 +65,8 @@ before_install: before_script: - ./configure ${CONFIG} script: - - make -j${PARALLEL_JOBS} && ${TEST_CMD} + - make -j${PARALLEL_JOBS} + - test -z "${TEST_CMD}" || ${TEST_CMD} matrix: include: # Test with CLang for compile portability --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629899046629.5366729914567; Fri, 16 Jun 2017 09:18:19 -0700 (PDT) Received: from localhost ([::1]:59781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtwu-0007lr-IJ for importer@patchew.org; Fri, 16 Jun 2017 12:18:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsn-00048h-BN for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsl-0002gw-Mj for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:01 -0400 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:34658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsl-0002gk-If for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:13:59 -0400 Received: by mail-qt0-x22c.google.com with SMTP id c10so69221555qtd.1 for ; Fri, 16 Jun 2017 09:13:59 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.13.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:13:57 -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 :mime-version:content-transfer-encoding; bh=TIkVylAo8/dDWHf/FswETyz2XtruMO/u2iGVhCUMBFw=; b=tzLasOIu3qV3qY73UEc31GkVTgyU0ICbYt9G2b+yOnlZwmhM/+acPLNi6F14anb9vL DuH4Ynd8LJ0CHqk6qP5mBhPORz60ayKgfj12d/98Dw5PorKB6A1hka1tls+glEA4SePZ diivW+ei5478IptRe/NtSsS8Es30LmdiFdzm/ufl/XARJK8M1SDpJNy2NuPOtGHXRsOF NR/QP0vOkspRVjw6nKydyt7vXeyay/Fo1jwPx/w8mp0OP3ehW+Zdb55h2z8xlwinE5Id ZVh+8sdgsjKjpyDw7sj6HBtQjMOrc05TVk/IMb0p5WJ70IEUJvYbEdmWSldfFmDJu7SU C4dw== 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:mime-version:content-transfer-encoding; bh=TIkVylAo8/dDWHf/FswETyz2XtruMO/u2iGVhCUMBFw=; b=U4QyETeHzyEIL5CBLy2KccTRgBuRlTYNf0HyGz56WAtrw/WctESAuh/sJHKzPIrX3U tm5V71UJfL+1IONCZxnfHSOWNLiMDJEpnh+t9fm6AxJi8paMDUZYiF/4oU1cBnr+uMp2 EanVCQNBtcuPzdK6xhIga7gifNc+AcDJw8OekDJy4PcVHe1VBtrRB1y4Ke+mAfSaWy+N QAMscclfCs5nwifDPRN0NTzBVWpJMJSGfi39RA4t9TvPwNL7mBGsvBWWxDlAJblKJLLx B/vz6VBuCBl0a3K642ZgCGfjlFfdRLe2iu3j6Xdgw1LLzPPw6VC4bqVbvudr1V4y0aBy E5TA== X-Gm-Message-State: AKS2vOwIcMZHA4rPLjsY7F7kytI1HjoUnp0E9E6a4B7ItZd3x4W+2qA4 4JlmVLMZcuMchCPo7xg= X-Received: by 10.55.102.214 with SMTP id a205mr13470299qkc.154.1497629638189; Fri, 16 Jun 2017 09:13:58 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:26 -0300 Message-Id: <20170616161334.7492-4-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22c Subject: [Qemu-devel] [PATCH 03/11] travis: use yes/no variable to enable/disable tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 having the command to run in the variable make scripts harder to manage. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- using 0/1 or no/yes is pretty much the same. .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2c69fdd59..c9ac741afc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,7 +46,7 @@ notifications: env: global: - PARALLEL_JOBS=3D"$(($(getconf _NPROCESSORS_ONLN) + 1))" - - TEST_CMD=3D"make check" + - RUN_TESTS=3D"yes" matrix: - CONFIG=3D"" - CONFIG=3D"--enable-debug --enable-debug-tcg --enable-trace-backends= =3Dlog" @@ -66,7 +66,7 @@ before_script: - ./configure ${CONFIG} script: - make -j${PARALLEL_JOBS} - - test -z "${TEST_CMD}" || ${TEST_CMD} + - if [ "${RUN_TESTS}" =3D=3D "yes" ]; then make check; fi matrix: include: # Test with CLang for compile portability @@ -77,16 +77,16 @@ matrix: compiler: gcc # We manually include builds which we disable "make check" for - env: CONFIG=3D"--enable-debug --enable-tcg-interpreter" - TEST_CMD=3D"" + RUN_TESTS=3D"no" compiler: gcc - env: CONFIG=3D"--enable-trace-backends=3Dsimple" - TEST_CMD=3D"" + RUN_TESTS=3D"no" compiler: gcc - env: CONFIG=3D"--enable-trace-backends=3Dftrace" - TEST_CMD=3D"" + RUN_TESTS=3D"no" compiler: gcc - env: CONFIG=3D"--enable-trace-backends=3Dust" - TEST_CMD=3D"" + RUN_TESTS=3D"no" compiler: gcc - env: CONFIG=3D"" os: osx @@ -191,6 +191,6 @@ matrix: env: - COMPILER_NAME=3Dgcc CXX=3Dg++-5 CC=3Dgcc-5 - CONFIG=3D"--cc=3Dgcc-5 --cxx=3Dg++-5 --disable-pie --disable-lin= ux-user" - - TEST_CMD=3D"" + - RUN_TESTS=3D"no" before_script: - ./configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -fsanitize=3Dthr= ead -fuse-ld=3Dgold" || cat config.log --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497630214463714.981243063426; Fri, 16 Jun 2017 09:23:34 -0700 (PDT) Received: from localhost ([::1]:59818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLu20-0004c7-2q for importer@patchew.org; Fri, 16 Jun 2017 12:23:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtso-0004BD-Qd for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsn-0002iG-UY for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:02 -0400 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]:33519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsn-0002hi-QZ for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:01 -0400 Received: by mail-qt0-x242.google.com with SMTP id w1so11250834qtg.0 for ; Fri, 16 Jun 2017 09:14:01 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.13.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:00 -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 :mime-version:content-transfer-encoding; bh=HPFhWVB7BsJLmxkutdyfAxixZstCqermWb2SWhxws1A=; b=Q8pqsJ8kF6NWVIadHUIq1nrbjBI3cJ9wpYj+0EEwJ2EGzJ1YT99CTjed3EceH7/Gtu 6ahiLSOinRaRyYOZk+GlHAF2i7MF+sn6/VCW6PQtFqjsp79aFJaNO6xz14Xlpx8M2cNW Ng+gfuTxEPJXDPOIz7E3IXFUZAopWyHN7Fktx/71afQmfP/zUmdN1XpwqU2ijHGXMYS2 7W9oso1daXURY8tXqfNqYDtmdqlPTiC4wDq7XRbSomIpq8yxlzz/6hf+zILq6cpmQIsQ 2CHKTnK3gz15gAUOzZlKIoygVhANqd4hjAhus+5lzPUk8RQ8VTIy9JiPDO9fAijJ4oAI 7Tcg== 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:mime-version:content-transfer-encoding; bh=HPFhWVB7BsJLmxkutdyfAxixZstCqermWb2SWhxws1A=; b=ZR4yzwtyHoiMmLY7RRpc6BG81zJvds3S0Tk+vx5X97hdoFJfxfxLKnv5btAFhenUCs Urnawx1M6DEInVSn+VhTAWgEBzfSXbgXlcrdbMXeRFyoI1JNiukds8IBHxb0as8C5HGe oWLcMu7ztpIG/jFwK5YlhivZoaIAk8GB8MQ4UoVJ45A1s9zIPMyDwHNntSUXTvuBtwQf FacUz+uoSJtOWQHo4wfogA0CZoRpJF2pjqrMTO7L/N+BvHn4SlGn6BtEUbBsMKcqlZ8m l2vZ8y10iq6E8x4RBCDwnZM+rc9LzfExRE2oJx0swZqNFecaO029t2Ux704tug5f3cgn UFlA== X-Gm-Message-State: AKS2vOw41GeEh+9SPh8KPwE1OA1XaJz35XDLxWgrX0ukHWGe6pO+13nw VTwkzLgqfzZgIGTik4Q= X-Received: by 10.237.39.134 with SMTP id a6mr13406214qtd.164.1497629641085; Fri, 16 Jun 2017 09:14:01 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:27 -0300 Message-Id: <20170616161334.7492-5-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::242 Subject: [Qemu-devel] [PATCH 04/11] tests: add rule to compile many objects used by tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 all those objects can get compiled simultaneously Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/Makefile.include | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index f42f3dfa72..3773f9d8d2 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -804,6 +804,7 @@ check-help: @echo " make check-qapi-schema Run QAPI schema tests" @echo " make check-block Run block tests" @echo " make check-report.html Generates an HTML test report" + @echo " make check-compile Compile objects used by tests" @echo " make check-clean Clean the tests" @echo @echo "Please note that HTML reports do not regenerate if the unit tests" @@ -887,7 +888,7 @@ check-tests/qapi-schema/doc-good.texi: tests/qapi-schem= a/doc-good.test.texi =20 # Consolidated targets =20 -.PHONY: check-qapi-schema check-qtest check-unit check check-clean +.PHONY: check-qapi-schema check-qtest check-unit check check-clean check-c= ompile check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-tes= ts/qapi-schema/doc-good.texi check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-unit: $(patsubst %,check-%, $(check-unit-y)) @@ -897,7 +898,10 @@ check-clean: $(MAKE) -C tests/tcg clean rm -rf $(check-unit-y) tests/*.o $(QEMU_IOTESTS_HELPERS-y) rm -rf $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtest-$(tar= get)-y)) $(check-qtest-generic-y)) - +check-compile: $(check-qtest-generic-y) $(check-unit-y) $(test-util-obj-y)= $(qtest-obj-y) $(test-io-obj-y) $(libqos-virtio-obj-y) $(libqos-pc-obj-y) = $(chardev-obj-y) $(QEMU_IOTESTS_HELPERS-y) +ifeq ($(CONFIG_SOFTMMU),y) +check-compile: $(sort $(foreach target,$(SYSEMU_TARGET_LIST), $(check-qtes= t-$(target)-y))) +endif clean: check-clean =20 # Build the help program automatically --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629758362569.7168966391351; Fri, 16 Jun 2017 09:15:58 -0700 (PDT) Received: from localhost ([::1]:59772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtuc-0005lK-4s for importer@patchew.org; Fri, 16 Jun 2017 12:15:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsu-0004Ia-Vy for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsq-0002j4-Ff for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:08 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:36024) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsq-0002ix-Ba for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:04 -0400 Received: by mail-qt0-x243.google.com with SMTP id s33so11302899qtg.3 for ; Fri, 16 Jun 2017 09:14:04 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:02 -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 :mime-version:content-transfer-encoding; bh=Ia9NY8VN6yEMUxUPA1IHHkatIiIIbjS5wNq8aPCLn7w=; b=pEx+OL7uJh0gJq2ObNedtFfIw/P/fB0IZrtzNJM3uLHkvtYVVWZT0jK6h3ikjncJGZ 7oo/NgV2awdd2hMvSGgfkQDV5KwUfx3nZYJzIOVe7FOld6dX5jXCKosM7/ITACfLmHWg o3PZ12+SFp0wprvL/vkXXjS+oNwNX/WIVI1AxfnRxPLtx46b6g9lsufDPssEFqud8qQM GnfdEkf9NB6/RJp1ZXmB/+/zOSqluvKhtDPqM74bjazfHFslJTe8pJweCtvR7+Ejv2/+ yz/3V8XIFxCD8/SfXXs1kXWk9AebKGWcqBZFVmohxHqrVHrUDsOrAwf8KmEBpqju2gcZ zGJQ== 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:mime-version:content-transfer-encoding; bh=Ia9NY8VN6yEMUxUPA1IHHkatIiIIbjS5wNq8aPCLn7w=; b=Cpo+uPYuFqHlgA0l1zHHZbpAtpcqYcDJ5Q6AyMD9O5BMKJ3Fi2+fi3GtFIqKNAOt8V tWBZDUxnK/5+naKCocarRwMw31wfz5yrwsAWQxiwk95Xqi00WmExx2JDgh9T8yA7+qIB WroehqAv6P1DS6ypFIPkFuMsG0dVVkdlBdKsNRoX5wEKD3b0jOwWgmnrq2gageDXOlBs 4gIiY3sjGefhft6R8Yax9SUdIPaHs2WvgLU52ecjUuX+22KOQkXoKM4nfOsMibblNIgl VZmdhrLGDSLIDx7dhhVXdoMCSZamfG1PGu+So1GBJA+1p4h0wHB7ifIJj7Uv7+h09pPv ohXw== X-Gm-Message-State: AKS2vOweQRhWcBcN4gqGh8Ge0/L7HhXR4eblOrqn/HB69nYl4mRR+kj1 978AF9lw9JFagHngy3I= X-Received: by 10.237.60.218 with SMTP id e26mr14882267qtf.106.1497629643465; Fri, 16 Jun 2017 09:14:03 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:28 -0300 Message-Id: <20170616161334.7492-6-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 05/11] travis: build tests objects in parallel, then run tests sequentially X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 tests are run sequentially to avoid mixed results output. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c9ac741afc..dbbb11617d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,7 +66,7 @@ before_script: - ./configure ${CONFIG} script: - make -j${PARALLEL_JOBS} - - if [ "${RUN_TESTS}" =3D=3D "yes" ]; then make check; fi + - if [ "${RUN_TESTS}" =3D=3D "yes" ]; then make -j${PARALLEL_JOBS} check= -compile && make check; fi matrix: include: # Test with CLang for compile portability --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629898013702.8327431716934; Fri, 16 Jun 2017 09:18:18 -0700 (PDT) Received: from localhost ([::1]:59782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtwu-0007m6-7k for importer@patchew.org; Fri, 16 Jun 2017 12:18:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsu-0004Hb-1X for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtss-0002jk-QM for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:08 -0400 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:33791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtss-0002jf-MH for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:06 -0400 Received: by mail-qt0-x22e.google.com with SMTP id u12so69335474qth.0 for ; Fri, 16 Jun 2017 09:14:06 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14: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 :mime-version:content-transfer-encoding; bh=qnnwv187rTA9cZF9M7axALxURtkqktDxN53Cq1ife4o=; b=EXbptgTo6ZV4bl+4frR6+MAx6TjD/ktef3T2bUsY3EMAPjK0BCzakE3nhsLLky0jwz dimjPBfSXRe9/LPZ+SxmZdHHx0lLxtZRMqtBAo4i8XGsvlfv55GJrpwq1tc8YSJYbyn5 Hmk4t9I03YHG5xUD9ktZ7RZjAbg2ph/uTSVsWrX3HwJKR5rkBd1/K+8eQoGarNM9EOr3 QFC5znYJsonqy7w5NJre/jw9AOeG0u6gJZnr20N53vorG6S8nSbG747nRfiPFeXgU96J ACHqt8yNLRqatltGhnjhiY1U4SrOOo9Y/PSV1cX03nhJ5fPTxsAiALbM4kruFzvmc5Jl TKvA== 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:mime-version:content-transfer-encoding; bh=qnnwv187rTA9cZF9M7axALxURtkqktDxN53Cq1ife4o=; b=TG0ujl9rzyhLdPecVTxuVKuLrmfvLhH2FrUPs1zcdea24uLFT0Mnl4BI2MBn49Slui hlxSKecC93y/kgkpWT0tcliQEB1y/MDwNdt/aazICyMvBMiB5vicextk3fQM3fOwOZs+ IzL9+Imb5MUB6uaX/7pqtRYzOGrx0UBHUZ1E3LiG6qe6RJ7XA8ZbubSW+FHBARpNQCG+ GvPV2ZZBTacd69qE2IM2iyXEUyGmp6HuHFYrufe9lbgT1wiAo/8pYdWRsfZvBMJvDlrs F3xeQs0M46DXiDMIA4kqnO9kbudXnwaZZ3j99KOQUlLy7o/l7+WPSGSOs5E8nFuEioDy E3ng== X-Gm-Message-State: AKS2vOyKyFA7ZN+Jec9i0UtEr3zMxKW0/58MYVYeOX/xRk0SpIri25Qi tVDWCZPcod8cNNAEFhQ= X-Received: by 10.55.204.133 with SMTP id n5mr2069930qkl.135.1497629645938; Fri, 16 Jun 2017 09:14:05 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:29 -0300 Message-Id: <20170616161334.7492-7-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22e Subject: [Qemu-devel] [PATCH 06/11] travis: retry if llvm.org timeouts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 example of failure: https://travis-ci.org/qemu/qemu/jobs/243232857 $ sudo apt-get update -qq W: Failed to fetch http://llvm.org/apt/trusty/dists/llvm-toolchain-trus= ty-3.9/Release.gpg Connection failed E: Some index files failed to download. They have been ignored, or old = ones used instead. The command "sudo apt-get update -qq" failed and exited with 100 during= . Your build has been stopped. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index dbbb11617d..69a960b714 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,10 +123,10 @@ matrix: - COMPILER_NAME=3Dclang CXX=3Dclang++-3.9 CC=3Dclang-3.9 - CONFIG=3D"--disable-linux-user --cc=3Dclang-3.9 --cxx=3Dclang++-= 3.9" before_install: - - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo a= pt-key add - - - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-= toolchain-trusty-3.9 main' - - sudo apt-get update -qq - - sudo apt-get install -qq -y clang-3.9 + - travis_retry wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg= .key | sudo apt-key add - + - travis_retry sudo apt-add-repository -y 'deb http://llvm.org/apt= /trusty llvm-toolchain-trusty-3.9 main' + - travis_retry sudo apt-get update -qq + - travis_retry sudo apt-get install -qq -y clang-3.9 - sudo apt-get build-dep -qq qemu - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive @@ -142,10 +142,10 @@ matrix: - COMPILER_NAME=3Dclang CXX=3Dclang++-3.9 CC=3Dclang-3.9 - CONFIG=3D"--disable-system --cc=3Dclang-3.9 --cxx=3Dclang++-3.9" before_install: - - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo a= pt-key add - - - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-= toolchain-trusty-3.9 main' - - sudo apt-get update -qq - - sudo apt-get install -qq -y clang-3.9 + - travis_retry wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg= .key | sudo apt-key add - + - travis_retry sudo apt-add-repository -y 'deb http://llvm.org/apt= /trusty llvm-toolchain-trusty-3.9 main' + - travis_retry sudo apt-get update -qq + - travis_retry sudo apt-get install -qq -y clang-3.9 - sudo apt-get build-dep -qq qemu - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-g= it-seed.tar.xz | tar -xvJ - git submodule update --init --recursive --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497630305423884.5638500424984; Fri, 16 Jun 2017 09:25:05 -0700 (PDT) Received: from localhost ([::1]:59827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLu3T-0005aJ-14 for importer@patchew.org; Fri, 16 Jun 2017 12:25:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtsy-0004LX-CE for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsv-0002kh-G7 for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:12 -0400 Received: from mail-yw0-x244.google.com ([2607:f8b0:4002:c05::244]:34434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsv-0002kZ-Bg for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:09 -0400 Received: by mail-yw0-x244.google.com with SMTP id w143so2837302yww.1 for ; Fri, 16 Jun 2017 09:14:09 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:07 -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 :mime-version:content-transfer-encoding; bh=NMXdX9AwyWS2RZDk8DXKXHP0FCnmosdKpvrTZRQ88l4=; b=Xyy0JLiSVDiCC7COAVF+D/ZM+P8XdlsR5WfpzZoid+OTOQW4+bhV8hVFSPEA5I8JvJ ObBC75xPbc+QoT/7DZK7azXIBRbsL6Evbpo5EfDp1oPOSOZC/WZlxnXlqyPE3Ez3kfUB WoidUU4ftUnSdB9nH8mz8JJMZYlqAKsDcz6jSsInkgfb+s50tgy4iUJkhwzEKmDAofMk TAs4jChWx6s6diRWqazWTkZPXb1siA0P50J3gA8qTLBSTAS75KLxFXbrikoXvY/75HiG akNVAn1DUPw0k8aDtVMLlHfQyGknsDn1DYtyruaYxmoPSnKXddlrwWcdgVNoMTQKl2Qt U1fw== 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:mime-version:content-transfer-encoding; bh=NMXdX9AwyWS2RZDk8DXKXHP0FCnmosdKpvrTZRQ88l4=; b=j3yxcenf1qrc3WB7e8puRCmewOLHBWLQkIhNkrUF4E0fzXfPL2kHOlT/2BnRXafTie ItSObmRjA8xx4ZQsiO3lHjn5c5ipdAFh87wfvcXkhfIsiJCT8jx5RQPiwXDz6YqKNvk5 mCEMzONyOSOsHGrpnBnvFTzXF0HFy+ElqEpkNI/iQFIuV5h9a8ZYGf88+TOBwL/8Z5sc duS70XwwvMI13Tj6eXe4JCKC8+QUkTD8HEXNceqj3G8xm3NX4tEqA/HrtVBonRfjDH6e 2hak1meGCwg/kyFGuoHI6vfoKx94GGlev0+XmAXLtmnH8cAqZzj5pH8TNIif62PQ/4qc qzUA== X-Gm-Message-State: AKS2vOzBLceOVkvSCjOpGhbS2jjMMVogYUWovZtFfcGrXdkJWuY1NdKk Xiv8/qVactWkqDHIn2U= X-Received: by 10.55.116.197 with SMTP id p188mr13754496qkc.233.1497629648575; Fri, 16 Jun 2017 09:14:08 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:30 -0300 Message-Id: <20170616161334.7492-8-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c05::244 Subject: [Qemu-devel] [PATCH 07/11] travis: install more library dependencies X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Peter Maydell Update the travis list of library packages to install so that our build tests cover more of our code base. Signed-off-by: Peter Maydell Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.travis.yml b/.travis.yml index 69a960b714..4889c192c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,28 +11,37 @@ addons: # Build dependencies - libaio-dev - libattr1-dev + - libbluetooth-dev - libbrlapi-dev + - libcap-dev - libcap-ng-dev - libgnutls-dev - libgtk-3-dev - libiscsi-dev - liblttng-ust-dev + - liblzo2-dev - libnfs-dev - libncurses5-dev - libnss3-dev - libpixman-1-dev - libpng12-dev - librados-dev + - librdmacm-dev - libsdl1.2-dev - libseccomp-dev + - libsnappy-dev - libspice-protocol-dev - libspice-server-dev - libssh2-1-dev - liburcu-dev - libusb-1.0-0-dev + - libvde-dev - libvte-2.90-dev + - libxen-dev + - nettle-dev - sparse - uuid-dev + - xfslibs-dev =20 # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu # to prevent IRC notifications from forks. This was created using: @@ -164,28 +173,37 @@ matrix: # Build dependencies - libaio-dev - libattr1-dev + - libbluetooth-dev - libbrlapi-dev + - libcap-dev - libcap-ng-dev - libgnutls-dev - libgtk-3-dev - libiscsi-dev - liblttng-ust-dev + - liblzo2-dev - libnfs-dev - libncurses5-dev - libnss3-dev - libpixman-1-dev - libpng12-dev - librados-dev + - librdmacm-dev - libsdl1.2-dev - libseccomp-dev + - libsnappy-dev - libspice-protocol-dev - libspice-server-dev - libssh2-1-dev - liburcu-dev - libusb-1.0-0-dev + - libvde-dev - libvte-2.90-dev + - libxen-dev + - nettle-dev - sparse - uuid-dev + - xfslibs-dev language: generic compiler: none env: --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 14976303923311011.9304500248475; Fri, 16 Jun 2017 09:26:32 -0700 (PDT) Received: from localhost ([::1]:59838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLu4r-000769-GJ for importer@patchew.org; Fri, 16 Jun 2017 12:26:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtt3-0004Ta-E3 for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtsx-0002lA-RB for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:17 -0400 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:33548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtsx-0002l6-Mn for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:11 -0400 Received: by mail-qt0-x243.google.com with SMTP id w1so11252024qtg.0 for ; Fri, 16 Jun 2017 09:14:11 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:10 -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 :mime-version:content-transfer-encoding; bh=8GNcGbpyDLuVBrw8uOxwlgbI0bbGxNBqkS7Vv+IO+Nk=; b=NsWDW8Eu7l0CZmpS3KebaHe7c90EGaIBZC9pp+TS8Lv6v6mcUwrzAwfedi/RrOSjgX 04eyWH+OXuXlgY24TmwuvrxcNGZyZmX4MJAoZxjo7QhEH47/yQVb6P6QUMKDR3rV4oIt I8SeMZW4saV3aClxLOi+gGtQBbD24lnfBypiSZRIHOAMDyA5KE9eTdb/61oUzBKyeDAO PtBxRs7jWjfTId8m1wTdvpWIHlmkQmRmy4Hz+DnOG8jLkZ+gV/17vmFWO9NNhnTJp1yk eK2RJgEGxQ1df+d1UQxE4pwNFtA6MYf/q6FA8VphJcinPnNboOD54vcDyjj/UZmGt6Z9 XFZw== 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:mime-version:content-transfer-encoding; bh=8GNcGbpyDLuVBrw8uOxwlgbI0bbGxNBqkS7Vv+IO+Nk=; b=bjwf47+OH9n4aQJeXdnz8VW5zlRS62qEFmOaYHEXhDTxHs8+KvoEGH8rx7u7aU5aMa Z84JGw7W0shdBDuwjmqF9MlTfFIBNxuuWl9VksYRrW3mBys/ZjUbswNYDVXugJZ3C8XK JjvsC08kkjSeDQtb0Nv5b+hsE8DrE2q+da+sgqLVFvEe9/6tasFZ7kVHtzlMZfex7yrr FYt6nUGMLE6VMWMfGMgwJEnrEgmNk8MKXxj7TNWn94B9/tOHcVUr+eAa19op4R+Ww/Y6 p7HIjUz+URi2/eO/EAIvalN6J5lD3W9CBC4woIWfjNB+pXD9ejyWzQNKklAF8FmLOigc Rx0A== X-Gm-Message-State: AKS2vOy2E7IO6r8yA0EhtEPD8gxRmRMFswtxF0uQkrDp2xQ6bi9qEakA QOs7zl286xi+OhOyRQk= X-Received: by 10.55.31.93 with SMTP id f90mr13196377qkf.85.1497629651122; Fri, 16 Jun 2017 09:14:11 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:31 -0300 Message-Id: <20170616161334.7492-9-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 08/11] travis: install more library dependencies X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 so more codebase is built Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Alex Benn=C3=A9e --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4889c192c2..4c0f7f444e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,12 @@ addons: apt: packages: # Build dependencies + - glusterfs-common - libaio-dev - libattr1-dev - libbluetooth-dev - libbrlapi-dev + - libbz2-dev - libcap-dev - libcap-ng-dev - libgnutls-dev @@ -22,6 +24,8 @@ addons: - liblzo2-dev - libnfs-dev - libncurses5-dev + - libncursesw5-dev + - libnfs-dev - libnss3-dev - libpixman-1-dev - libpng12-dev @@ -171,10 +175,12 @@ matrix: - gcc-5 - g++-5 # Build dependencies + - glusterfs-common - libaio-dev - libattr1-dev - libbluetooth-dev - libbrlapi-dev + - libbz2-dev - libcap-dev - libcap-ng-dev - libgnutls-dev @@ -184,6 +190,8 @@ matrix: - liblzo2-dev - libnfs-dev - libncurses5-dev + - libncursesw5-dev + - libnfs-dev - libnss3-dev - libpixman-1-dev - libpng12-dev --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497630058396634.0674680124963; Fri, 16 Jun 2017 09:20:58 -0700 (PDT) Received: from localhost ([::1]:59796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtzU-0001oo-HR for importer@patchew.org; Fri, 16 Jun 2017 12:20:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtt2-0004RI-Ct for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtt0-0002lw-SS for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:16 -0400 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:36394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtt0-0002ll-NH for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:14 -0400 Received: by mail-qt0-x234.google.com with SMTP id u19so69237100qta.3 for ; Fri, 16 Jun 2017 09:14:14 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:13 -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 :mime-version:content-transfer-encoding; bh=3n6GZ2eWcBU3woEgXfm/D1mpOZKpiFhq1O6Pe8E9P/w=; b=FwQWrWsxZv2ngipCZq6AXWTPlbVUOUHawCTtSBk9MYRohjX5KSCZUkaLV5SrPbxoWv 8/CctE6Oa4ufHMxiuV8Te0NKk2jCKNkNpToDoVIyvmY7UB68dXOW7LlFRd3aFs2fRyKU 72kw0WmKGmRctKp1z85FIHo53rfYWClAOSw42uYo5VZ8IDz/eLFsu+14q/g3Teyi8SNb iRIIj137zyADXA3MBilf2VlPlGtBWvjIevkupHkD/cYCk6WG4y29v2YevTcbb/VP43Qk yBvSCHyWjqRXJ2mwJVrI2viGPw34GhLjPWclPgMwM9EhA4nm7KQIl/+Yv2UVDWs+m14G OeIw== 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:mime-version:content-transfer-encoding; bh=3n6GZ2eWcBU3woEgXfm/D1mpOZKpiFhq1O6Pe8E9P/w=; b=euxOir0StwOoeEQfw3Tn0YFwK6JfNRFcjuQDgMpvUG0zlOBYahWv6WCztaRZp54QOV hCN07HBCP5CPnTG09RI2+Zn9mVbF+vv8qNRBu7g5cIdrYxR6VCzNiNjYt8OFoN9vI3Jb 1vNYepUO5AzQ142l9Yw9lJhz90Tq7cabzSNwjgBtatowCA1GF7tI7WEWWRaRJi5SoRh4 arhJ36cgQAfLjRQfhMo4RC0nEn538GZVLlIkDqyaeYmL/HGHMPDyxzOqcg3uD4k9G7ww Ra3QCgIqmH/Ug+Ak9jBbb6Qexg7GuYO21o3vvSgWR44JWooUNtRjeLI4HMxUJ6iC6aJn CL3w== X-Gm-Message-State: AKS2vOxOVukksoIEl/g6hoxhE5FKtu4Ve13NY5WSdAz6sZvztk6vQy8H So2rPbhh27U3ecBuL+0= X-Received: by 10.55.191.197 with SMTP id p188mr13877699qkf.69.1497629653712; Fri, 16 Jun 2017 09:14:13 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:32 -0300 Message-Id: <20170616161334.7492-10-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::234 Subject: [Qemu-devel] [PATCH 09/11] scripts/run-coverity-scan: Script to run Coverity Scan build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Peter Maydell Add a new script to automate the process of running the Coverity Scan build tools and uploading the resulting tarball to the website. This is primarily intended to be driven from Travis, but it can be run locally (if you are a maintainer of the QEMU project on the Coverity Scan website and have the secret upload token). Signed-off-by: Peter Maydell Reviewed-by: Alex Benn=C3=A9e Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- scripts/run-coverity-scan | 170 ++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 170 insertions(+) create mode 100755 scripts/run-coverity-scan diff --git a/scripts/run-coverity-scan b/scripts/run-coverity-scan new file mode 100755 index 0000000000..e6d5fc58d8 --- /dev/null +++ b/scripts/run-coverity-scan @@ -0,0 +1,170 @@ +#!/bin/sh -e + +# Upload a created tarball to Coverity Scan, as per +# https://scan.coverity.com/projects/qemu/builds/new + +# This work is licensed under the terms of the GNU GPL version 2, +# or (at your option) any later version. +# See the COPYING file in the top-level directory. +# +# Copyright (c) 2017 Linaro Limited +# Written by Peter Maydell + +# Note that this script will automatically download and +# run the (closed-source) coverity build tools, so don't +# use it if you don't trust them! + +# This script assumes that you're running it from a QEMU source +# tree, and that tree is a fresh clean one, because we do an in-tree +# build. (This is necessary so that the filenames that the Coverity +# Scan server sees are relative paths that match up with the component +# regular expressions it uses; an out-of-tree build won't work for this.) +# The host machine should have as many of QEMU's dependencies +# installed as possible, for maximum coverity coverage. + +# You need to pass the following environment variables to the script: +# COVERITY_TOKEN -- this is the secret 8 digit hex string which lets +# you upload to Coverity Scan. If you're a maintainer +# in Coverity then the web UI will tell you this. +# COVERITY_EMAIL -- the email address to use for uploads + +# and optionally +# COVERITY_DRYRUN -- set to not actually do the upload +# COVERITY_BUILD_CMD -- make command (defaults to 'make -j8') +# COVERITY_TOOL_BASE -- set to directory to put coverity tools +# (defaults to /tmp/coverity-tools) + +# The primary purpose of this script is to be run as part of +# a Travis build, but it is possible to run it manually locally. + +if [ -z "$COVERITY_TOKEN" ]; then + echo "COVERITY_TOKEN environment variable not set" + exit 1 +fi + +if [ -z "$COVERITY_EMAIL" ]; then + echo "COVERITY_EMAIL environment variable not set" + exit 1 +fi + +if [ -z "$COVERITY_BUILD_CMD" ]; then + echo "COVERITY_BUILD_CMD: using default 'make -j8'" + COVERITY_BUILD_CMD=3D"make -j8" +fi + +if [ -z "$COVERITY_TOOL_BASE" ]; then + echo "COVERITY_TOOL_BASE: using default /tmp/coverity-tools" + COVERITY_TOOL_BASE=3D/tmp/coverity-tools +fi + +PROJTOKEN=3D"$COVERITY_TOKEN" +PROJNAME=3DQEMU +TARBALL=3Dcov-int.tar.xz +SRCDIR=3D"$(pwd)" + +echo "Checking this is a QEMU source tree..." +if ! [ -e VERSION ]; then + echo "Not in a QEMU source tree?" + exit 1 +fi + +echo "Checking upload permissions..." + +if ! up_perm=3D"$(wget https://scan.coverity.com/api/upload_permitted --po= st-data "token=3D$PROJTOKEN&project=3D$PROJNAME" -q -O -)"; then + echo "Coverity Scan API access denied: bad token?" + exit 1 +fi + +# Really up_perm is a JSON response with either +# {upload_permitted:true} or {next_upload_permitted_at:} +# We do some hacky string parsing instead of properly parsing it. +case "$up_perm" in + *upload_permitted*true*) + echo "Coverity Scan: upload permitted" + ;; + *next_upload_permitted_at*) + if [ -z "$COVERITY_DRYRUN" ]; then + echo "Coverity Scan: upload quota reached; stopping here" + # Exit success as this isn't a build error. + exit 0 + else + echo "Coverity Scan: upload quota reached, continuing dry run" + fi + ;; + *) + echo "Coverity Scan upload check: unexpected result $up_perm" + exit 1 + ;; +esac + +mkdir -p "$COVERITY_TOOL_BASE" +cd "$COVERITY_TOOL_BASE" + +echo "Checking for new version of coverity build tools..." +wget https://scan.coverity.com/download/linux64 --post-data "token=3D$PROJ= TOKEN&project=3D$PROJNAME&md5=3D1" -O coverity_tool.md5.new + +if ! cmp -s coverity_tool.md5 coverity_tool.md5.new; then + # out of date md5 or no md5: download new build tool + # blow away the old build tool + echo "Downloading coverity build tools..." + rm -rf coverity_tool coverity_tool.tgz + wget https://scan.coverity.com/download/linux64 --post-data "token=3D$= PROJTOKEN&project=3D$PROJNAME" -O coverity_tool.tgz + if ! (cat coverity_tool.md5.new; echo " coverity_tool.tgz") | md5sum = -c --status; then + echo "Downloaded tarball didn't match md5sum!" + exit 1 + fi + # extract the new one, keeping it corralled in a 'coverity_tool' direc= tory + echo "Unpacking coverity build tools..." + mkdir -p coverity_tool + cd coverity_tool + tar xf ../coverity_tool.tgz + cd .. + mv coverity_tool.md5.new coverity_tool.md5 +fi + +rm -f coverity_tool.md5.new + +TOOLBIN=3D"$(echo $(pwd)/coverity_tool/cov-analysis-*/bin)" + +if ! test -x "$TOOLBIN/cov-build"; then + echo "Couldn't find cov-build in the coverity build-tool directory??" + exit 1 +fi + +export PATH=3D"$TOOLBIN:$PATH" + +cd "$SRCDIR" + +echo "Doing make distclean..." +make distclean + +echo "Configuring..." +./configure --audio-drv-list=3Doss,alsa,sdl,pa --disable-werror + +echo "Making libqemustub.a..." +make libqemustub.a + +echo "Running cov-build..." +rm -rf cov-int +mkdir cov-int +cov-build --dir cov-int $COVERITY_BUILD_CMD + +echo "Creating results tarball..." +tar cvf - cov-int | xz > "$TARBALL" + +echo "Uploading results tarball..." + +VERSION=3D"$(git describe --always HEAD)" +DESCRIPTION=3D"$(git rev-parse HEAD)" + +if ! [ -z "$COVERITY_DRYRUN" ]; then + echo "Dry run only, not uploading $TARBALL" + exit 0 +fi + +curl --form token=3D"$PROJTOKEN" --form email=3D"$COVERITY_EMAIL" \ + --form file=3D@"$TARBALL" --form version=3D"$VERSION" \ + --form description=3D"$DESCRIPTION" \ + https://scan.coverity.com/builds?project=3D"$PROJNAME" + +echo "Done." --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629925996621.53381776097; Fri, 16 Jun 2017 09:18:45 -0700 (PDT) Received: from localhost ([::1]:59783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtxJ-0008Bx-LA for importer@patchew.org; Fri, 16 Jun 2017 12:18:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtt3-0004U4-VW for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtt2-0002mc-Ss for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:17 -0400 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:32893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtt2-0002mW-Nu for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:16 -0400 Received: by mail-qt0-x22e.google.com with SMTP id u12so69342106qth.0 for ; Fri, 16 Jun 2017 09:14:16 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:15 -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 :mime-version:content-transfer-encoding; bh=UBtjIc9njwYiM9NhEpzkmS/JgF4foqtmWTHkd8UKZTA=; b=FUwqxdnaVop3rryGibr9jUrxCLCxggnGzDgJzIvoBR8Kk0rWcPJKPIFpIkC/DVsPK1 tqt4gKQ2itUe0fU1HxTLec6S0hzzingVBHqIAioVXZlB2bWlH+OP6DoNUXI8jSivt1IV 1ZFX9XQduPdZAptAlnpFzV+lZ1aoSabLoQ426AXBi92PWPRrn5mwVSRPRTMnZ+Wbpsat WJESgYeCoodSvxDN1EQuOQ+dsRqfD6+JYMbGziDjR9k2xkViSLlwZobPAxVb4xLz2Ms3 FwjHC7VXFD61K+10oiwBLZeT8g3sUD6BDxZ30qoQnVaEHKYTK2Rv3u5hp7tOowx1GVxY gOfg== 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:mime-version:content-transfer-encoding; bh=UBtjIc9njwYiM9NhEpzkmS/JgF4foqtmWTHkd8UKZTA=; b=EZAfpCDjhgwhQAH6J7wSO9qkFz/gFOPDdtv3fZCu3eSGEHHUwowGP72snDkYNhetTI wbUSaFcBZF/5r0rYGAPVKSnLKb7gckq8z1kMohWkARYjeXtJIMp7zOYoDLOjuBvmb9E0 TmnH7LlZM1fHWp8PmTDYyoLsjhvSDKHg+B7CsSIK+NFlCKj2a/VkcQYYBcZjiz3Guoco byq9fvsJgL12gbUiqU+opYRAlPIbVDpt7OqVoyVXwxLnFH9GTdCvumyu6AFh3C/VPtHw jLPjgBzQPbKcButF68Jq7l6WYBTdqhFOqri4FMmyTGVcFgGjLuW9XWcFJ101psVPuWSm CU0g== X-Gm-Message-State: AKS2vOxYmbON5F2nnlbM37/GARmNp851HntdoLFuWvXk4joUUOeHTV7R ulqKaq/6DK7abNVp4+c= X-Received: by 10.55.27.96 with SMTP id b93mr13122102qkb.235.1497629656154; Fri, 16 Jun 2017 09:14:16 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:33 -0300 Message-Id: <20170616161334.7492-11-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22e Subject: [Qemu-devel] [PATCH 10/11] travis: Add config to do a Coverity Scan upload X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Peter Maydell Add config to travis to do a Coverity Scan build and upload, using the new run-coverity-scan script. There is an official integration between Travis and Coverity Scan: https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/add= ons/coverity_scan.rb which slurps values out of the .travis.yml and downloads a build script from Coverity which does the bulk of the work: https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh However we choose to roll our own since this seems less confusing and also allows us to include debug features (notably the ability to do a "dry run" test which doesn't actually upload anything). Signed-off-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4c0f7f444e..fc91e2fd28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -220,3 +220,27 @@ matrix: - RUN_TESTS=3D"no" before_script: - ./configure ${CONFIG} --extra-cflags=3D"-g3 -O0 -fsanitize=3Dthr= ead -fuse-ld=3Dgold" || cat config.log + # Build and upload to Coverity Scan. + # We do not impose any rate limiting here, but instead rely on the + # limiting done by the coverity servers, which for a project of QEMU's + # size means one build a day. The run-coverity-scan script will exit + # early if the limiter does not permit a new upload, so the effect will + # be that the first build (only) in each 24 hour period will be scanne= d. + # If we needed to apply a limit at the Travis end, the simplest approa= ch + # would be to run the scan only if the branch was 'coverity-scan', and + # use a cron job to push master to the 'coverity-scan' branch periodic= ally. + # We run on the trusty Travis hosts so that there's a wider set of + # dependencies satisfied to improve coverage. + - dist: trusty + env: + - COVERITY=3D1 + - COVERITY_BUILD_CMD=3D"make -j3" + - COVERITY_EMAIL=3Dpeter.maydell@linaro.org + # This 'secure' setting sets COVERITY_TOKEN=3D + # and was created with travis encrypt -r qemu/qemu COVERITY_TOKEN= =3D... + - secure: "D3E6E5bacui53fYBQrx0wQr8ZTvo6VIBPKfg0QHj2uwa6OPFkUlcMr/= EHWvdbZNAa4Q1bv1vhlED5OPRfPmQYzxQNT4SAxDZeuZnikgIymfqQXNOjKw4kRUDO9P42QanyF= d+EAu2JDVClAeJPgBpa/ns4CNrGDK+Q3coGndCP8o=3D" + before_script: + - if [ "$TRAVIS_PULL_REQUEST" =3D "true" ]; then echo "Skipping Co= verity (pullreq)"; exit 0; fi + - if [ "$TRAVIS_BRANCH" !=3D "master" ]; then echo "Skipping Cover= ity (wrong branch)"; exit 0; fi + script: + - ./scripts/run-coverity-scan --=20 2.11.0 From nobody Tue Apr 30 06:37:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1497629930289861.6613788119948; Fri, 16 Jun 2017 09:18:50 -0700 (PDT) Received: from localhost ([::1]:59784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtxP-0008IU-Ud for importer@patchew.org; Fri, 16 Jun 2017 12:18:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLtt8-0004Yr-At for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLtt5-0002nm-Kf for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:22 -0400 Received: from mail-yw0-x22a.google.com ([2607:f8b0:4002:c05::22a]:35061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLtt5-0002nY-GZ for qemu-devel@nongnu.org; Fri, 16 Jun 2017 12:14:19 -0400 Received: by mail-yw0-x22a.google.com with SMTP id v7so21741952ywc.2 for ; Fri, 16 Jun 2017 09:14:19 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id a62sm1691420qkd.14.2017.06.16.09.14.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 09:14:17 -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 :mime-version:content-transfer-encoding; bh=MG0IlUe+yhu0nBa9eJSUPHDr005RbwdpygGqjgmGk3U=; b=JMtHR/eMW5WmXjsdHSnK0pwCjPf6ouo9KE1+i2gxZuVtgHxsso6AvwMPslet+31BXP QjbEA4OuNOavVjQynrxeWG0SO+WBpOZfmxkNhd4ycp3hBQ2UoBn+LqQUSIc5nxSoflMp CbyBxcL3JrXxKPffhgF67sTkQoQIJbWojdFC8vWFYtnJHRNI+/FXk/hPER5OXy6RcwWX kVGiH5MYeQriFJ74O+RjJFDGKytofw8fprO+Ko/8IlsZNJ/aZk3yR6VX7VXAPd/uIsas 3JURavpZpKdwfsiTgQnAhqb5ZRqnP/bUb/RVJXSwBNZFXQX04il8CDuw6BqP7dFpgsBo j3lQ== 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:mime-version:content-transfer-encoding; bh=MG0IlUe+yhu0nBa9eJSUPHDr005RbwdpygGqjgmGk3U=; b=c8GWMlV94ta7dCbxcai7rolZdgdGEDve1IySNvAq0bDlTbC3FuelMoIZahE7N1HRTX eHCYtlxVKBs0WI86w0c83mEdLdsQJ2oj3Ho1D14eU2GJXo9yVAhyFf4m9q9Zh8icBYWQ zxwJ8KQDDkzQf4giKvSbA0aIdvyE2+vyztndDEDkYNfjmV+zoQl7O1XpsW6sJ6sXkzHR J3WZaQKOSs8udI9IqX7QfAfbZp2c2cz2gZh68hyr2zv7nOZGvBAz9CKInR+3dd+tltr6 bi3SAm9Tr6SUOFhm90FA/yYgIqukX8ZWcSarJpadkiDa7sC9dBRK+0mm5hi9ZPvqESoR tMcA== X-Gm-Message-State: AKS2vOyCrYPcHp6B6oFgCflAsWZl0VrDHYJjVEUbwzgD2AA9eqwGHtfM EpL0rVxcufT5eoFCz9E= X-Received: by 10.55.220.134 with SMTP id v128mr12964743qki.173.1497629658302; Fri, 16 Jun 2017 09:14:18 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Peter Maydell Date: Fri, 16 Jun 2017 13:13:34 -0300 Message-Id: <20170616161334.7492-12-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616161334.7492-1-f4bug@amsat.org> References: <20170616161334.7492-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c05::22a Subject: [Qemu-devel] [PATCH 11/11] MAINTAINERS: self-appoint me as reviewer in build/test automation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 120788d8fb..e62cbc439a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1858,6 +1858,7 @@ Build and test automation ------------------------- M: Alex Benn=C3=A9e M: Fam Zheng +R: Philippe Mathieu-Daud=C3=A9 L: qemu-devel@nongnu.org S: Maintained F: .travis.yml --=20 2.11.0