From nobody Tue Apr 23 15:34:15 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; spf=pass (zoho.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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552642991254264.70851718256915; Fri, 15 Mar 2019 02:43:11 -0700 (PDT) Received: from localhost ([127.0.0.1]:52554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4jMq-0001Rs-75 for importer@patchew.org; Fri, 15 Mar 2019 05:43:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4jHP-00063n-P2 for qemu-devel@nongnu.org; Fri, 15 Mar 2019 05:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4j0D-0001HG-Fx for qemu-devel@nongnu.org; Fri, 15 Mar 2019 05:19:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47919) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4j0D-0001GZ-5A for qemu-devel@nongnu.org; Fri, 15 Mar 2019 05:19:45 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2DCA7307D8E2 for ; Fri, 15 Mar 2019 09:19:44 +0000 (UTC) Received: from donizetti.redhat.com (ovpn-112-50.ams2.redhat.com [10.36.112.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 400C75D9C5 for ; Fri, 15 Mar 2019 09:19:42 +0000 (UTC) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 15 Mar 2019 10:19:41 +0100 Message-Id: <20190315091941.23669-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 15 Mar 2019 09:19:44 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] ci: store Patchew configuration in the tree 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Patchew cannot yet retrieve the configuration from the QEMU Git tree, but this is planned. In the meanwhile, let's start storing it as YAML so that the Patchew configuration (currently accessible only to administrat= ors) is public and documented. Signed-off-by: Paolo Bonzini Reviewed-by: Fam Zheng --- .patchew.yml | 204 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) create mode 100644 .patchew.yml diff --git a/.patchew.yml b/.patchew.yml new file mode 100644 index 0000000000..54feda823e --- /dev/null +++ b/.patchew.yml @@ -0,0 +1,204 @@ +# Note: this file is still unused. It serves as a documentation for the +# Patchew configuration in case patchew.org disappears or has to be +# reinstalled. + +git: + push_to: git@github.com:patchew-project/qemu + public_repo: https://github.com/patchew-project/qemu + url_template: https://github.com/patchew-project/qemu/tree/%t + +email: + ENOSPC: + event: TestingReport + to: fam@euphon.net + reply_subject: false + set_reply_to: false + subject_template: 'Out of space error for {{ tester }}' + body_template: | + {% if passed %} + {{ cancel }} + {% endif %} + + {% if 'No space left on device' in log %} + Tester {{ tester }} out of space when running {{ test }} + + {{ log | ansi2text }} + {% else %} + {{ cancel }} + {% endif %} + + timeouts: + event: TestingReport + to: fam@euphon.net + body_template: | + {% if not is_timeout %} {{ cancel }} {% endif %} + + Test '{{ test }}' timeout, log: + + {{ log | ansi2text }} + + failures: + event: TestingReport + reply_to_all: true + body_template: | + {% if passed or not obj.message_id or is_timeout %} + {{ cancel }} + {% endif %} + {% if 'No space left on device' in log %} + {{ cancel }} + {% endif %} + Patchew URL: https://patchew.org/QEMU/{{ obj.message_id }}/ + + {% ansi2text log as logtext %} + {% if test =3D=3D "checkpatch" %} + Hi, + + This series seems to have some coding style problems. See output bel= ow for + more information: + + {{ logtext }} + {% elif test =3D=3D "docker-mingw@fedora" or test =3D=3D "docker-qui= ck@centos7" or test =3D=3D "asan" %} + Hi, + + This series failed the {{ test }} build test. Please find the testin= g commands and + their output below. If you have Docker installed, you can probably r= eproduce it + locally. + + {% lines_between logtext start=3D"^=3D=3D=3D TEST SCRIPT BEGIN =3D= =3D=3D$" stop=3D"^=3D=3D=3D TEST SCRIPT END =3D=3D=3D$" %} + {% lines_between logtext start=3D"^=3D=3D=3D OUTPUT BEGIN =3D=3D=3D$= " stop=3D"=3D=3D=3D OUTPUT END =3D=3D=3D$" as output %} + {% grep_C output regex=3D"\b(FAIL|XPASS|ERROR|WARN|error:|warning:)"= n=3D3 %} + {% elif test =3D=3D "s390x" or test =3D=3D "FreeBSD" or test =3D=3D = "ppcle" or test =3D=3D "ppcbe" %} + Hi, + + This series failed build test on {{test}} host. Please find the deta= ils below. + + {% lines_between logtext start=3D"^=3D=3D=3D TEST SCRIPT BEGIN =3D= =3D=3D$" stop=3D"^=3D=3D=3D TEST SCRIPT END =3D=3D=3D$" %} + {% lines_between logtext start=3D"^=3D=3D=3D OUTPUT BEGIN =3D=3D=3D$= " stop=3D"=3D=3D=3D OUTPUT END =3D=3D=3D$" as output %} + {% grep_C output regex=3D"\b(FAIL|XPASS|ERROR|WARN|error:|warning:)"= n=3D3 %} + {% else %} + {{ cancel }} + {% endif %} + + The full log is available at + {{ log_url }}. + --- + Email generated automatically by Patchew [http://patchew.org/]. + Please send your feedback to patchew-devel@redhat.com + +testing: + defaults: + - timeout: 3600 + + requirements: + docker: | + #!/bin/bash + docker ps || sudo -n docker ps + x86-kvm: | + #!/bin/bash + set -e + test "$(uname -m)" =3D x86_64 + test -r /dev/kvm + if qemu-system-x86_64 --help >/dev/null 2>&1; then + : + elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then + : + else + false + fi + ppcle: | + #!/bin/sh + test "$(uname -m)" =3D ppc64le + ppcbe: | + #!/bin/sh + test "$(uname -m)" =3D ppc64 + s390x: | + #!/bin/sh + test "$(uname -m)" =3D s390x + + tests: + asan: + requirements: docker + script: | + #!/bin/bash + time make docker-test-debug@fedora TARGET_LIST=3Dx86_64-softmmu J= =3D14 NETWORK=3D1 + + docker-clang@ubuntu: + requirements: docker + script: | + #!/bin/bash + time make docker-test-clang@ubuntu SHOW_ENV=3D1 J=3D14 NETWORK=3D1 + + docker-mingw@fedora: + requirements: docker + script: | + #!/bin/bash + time make docker-test-mingw@fedora SHOW_ENV=3D1 J=3D14 NETWORK=3D1 + + docker-quick@centos7: + requirements: docker + script: | + #!/bin/bash + time make docker-test-quick@centos7 SHOW_ENV=3D1 J=3D14 NETWORK=3D1 + + checkpatch: + script: | + #!/bin/bash + git rev-parse base > /dev/null || exit 0 + git config --local diff.renamelimit 0 + git config --local diff.renames True + git config --local diff.algorithm histogram + ./scripts/checkpatch.pl --mailback base.. + + FreeBSD: + enabled: false + requirements: x86-kvm + script: | + #!/bin/bash + if qemu-system-x86_64 --help >/dev/null 2>&1; then + QEMU=3Dqemu-system-x86_64 + elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then + QEMU=3D/usr/libexec/qemu-kvm + else + exit 1 + fi + make vm-build-freebsd J=3D14 QEMU=3D$QEMU + exit 0 + + ppcle: + enabled: false + requirements: ppcle + script: | + #!/bin/bash + INSTALL=3D$PWD/install + BUILD=3D$PWD/build + mkdir -p $BUILD $INSTALL + SRC=3D$PWD + cd $BUILD + $SRC/configure --prefix=3D$INSTALL + make -j14 + + ppcbe: + enabled: false + requirements: ppcbe + script: | + #!/bin/bash + INSTALL=3D$PWD/install + BUILD=3D$PWD/build + mkdir -p $BUILD $INSTALL + SRC=3D$PWD + cd $BUILD + $SRC/configure --prefix=3D$INSTALL + make -j14 + + s390x: + enabled: false + requirements: ppcle + script: | + #!/bin/bash + INSTALL=3D$PWD/install + BUILD=3D$PWD/build + mkdir -p $BUILD $INSTALL + SRC=3D$PWD + cd $BUILD + $SRC/configure --prefix=3D$INSTALL + make -j14 --=20 2.20.1