From patchwork Mon Nov 21 23:01:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Wielaard X-Patchwork-Id: 24045 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1880676wrr; Mon, 21 Nov 2022 15:01:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4uOGt3Ln86VAEG4mIKU6CB0rq1ZTBQhKzod/xgPLHKQR59cwSUZXJ8aj1DwSWuxFPUo7oL X-Received: by 2002:a17:907:766c:b0:7af:6ab:1d8d with SMTP id kk12-20020a170907766c00b007af06ab1d8dmr1551395ejc.211.1669071708534; Mon, 21 Nov 2022 15:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669071708; cv=none; d=google.com; s=arc-20160816; b=FxQqHL2wpC/hYK1FZAwV8t3bJRSLeHkqBS9Dli1EE3c2d7K0IICpF8JDQ+qnDR2a+j nrMGjPf6YJS1IaxCWfJPhO6IcbB1J5b6CC9UMyddFOzuBTERBNvgiXBGEKUjrC+84Bnc XuiG5uN0lZXTB7soR177BGY3ZnGQ1rQDUXP26tVmvOFgyZJ3/z5V3u6PHsPooh5Pp3hJ X4CH4lNUJ9TP2ScDNZyX1cRasX5yV6TGC8LfZX6SN/bxpXC8mUfKhxI+r0smgZxP6C0m HiOr/RrhkSCBDlLPMBKnq24XrpuPaRNLkEr8LjdSOoAS2oNY3cfJcK8olJTa6Z7/NAQy cCzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dmarc-filter:delivered-to; bh=HTzh1vARzWGE0ktlDQBomOX8IaUbJTltnX96n4xAoMU=; b=DXgHubV7ccwJklGbzvZNJr4yBgy59HoBAHFXQIYmJRKwOPrqzWwe0d4lZ4AlJ/W6k+ apYYDn+FaUyTwHMDNCym5aPm58sjG1Y47zWWTsPFeJY/q+dWqJ1c58SiOmlvjyoLwYlw reLCxyoOWJz1BuF4CNMILShlsfWV23eKLZByUU8UYHuaGceI14SFlucrBJNIcgNSwKuZ GIF3GIMhunnlXNZyWi501kK5pGQjxOwvMJnJ2gFgtmq0OdcCz0OdHyztOxZu8miqBSO4 KA2Rjtb0OOx6mCaMbCklKPV7WRmVnwfrXaO7F2w/+g4s5A7GUMaI+wZri7xZZ3KTeX4a O+NQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id he40-20020a1709073da800b007ae61d89b3esi621463ejc.356.2022.11.21.15.01.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 15:01:48 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C06AD3852221 for ; Mon, 21 Nov 2022 23:01:42 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 38909384F4A3 for ; Mon, 21 Nov 2022 23:01:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 38909384F4A3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from reform (deer0x0e.wildebeest.org [172.31.17.144]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 1328530008BB; Tue, 22 Nov 2022 00:01:16 +0100 (CET) Received: by reform (Postfix, from userid 1000) id 84CCC2E83A82; Tue, 22 Nov 2022 00:01:16 +0100 (CET) Date: Tue, 22 Nov 2022 00:01:16 +0100 From: Mark Wielaard To: Christophe Lyon Cc: Jeff Law , gcc-patches@gcc.gnu.org, buildbot@sourceware.org Subject: Activate gcc builder problem emails (Was: [PATCH v2] genmultilib: Add sanity check) Message-ID: References: <5fd04651-5fab-e1d1-ea01-9fc39a1cb207@arm.com> <20221103095259.4095606-1-christophe.lyon@arm.com> <60cd8d77-8f33-bf5c-6316-f035f12c53d8@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1021.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750148535950529382?= X-GMAIL-MSGID: =?utf-8?q?1750148535950529382?= Hi Christophe, On Mon, Nov 21, 2022 at 01:35:34PM +0100, Christophe Lyon wrote: > On 11/21/22 13:32, Mark Wielaard wrote: > > > I've just sent a fix: > > > https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606887.html > > > > > > Hopefully that one is right > > > > The buildbot gcc builds are turning green again! > > https://builder.sourceware.org/buildbot/#/changes/13736 > > Good! I didn't imagine the feedback would be so fast :-) > > BTW, I don't remember receiving an email from the buildbot after the > breakage, does it send such emails for binutils/gdb only? You are right, we didn't seem to have any problem report emails for the gcc builds. The attached (pushed) patch activates email reports for the quick gcc builders. Whenever they fail the patch author should get an email now. Also it will now sent email to gcc-testresults if a build starts failing or becomes successful again. Note that we don't have good reporting for the full gcc builders yet. We don't have regression detection yet, so we can only see that the full testsuite passes or fails. All results are put into the bunsen database though. Cheers, Mark From adbdb81530f97880facb942afe14781c1006e283 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 21 Nov 2022 23:47:53 +0100 Subject: [PATCH] Add mail notifiers for gcc builds Change gcc_fedrawhide_x86_64_builder tag from "gcc" to "gcc-full" like other "full" builders (debian-amd64, ubuntu-armhf and ubuntu-arm64). Add mail notifiers for builders tagged "gcc". One to sent email to patch author if a new problem (failed build) appears. Another to sent email to gcc-testresults whenever a build changes from success to failed or the other way around. --- builder/master.cfg | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/builder/master.cfg b/builder/master.cfg index 61bf4f1..b25731d 100644 --- a/builder/master.cfg +++ b/builder/master.cfg @@ -2888,7 +2888,7 @@ gcc_fedrawhide_x86_64_builder = util.BuilderConfig( name="gcc-fedrawhide-x86_64", collapseRequests=True, workernames=["fedrawhide-x86_64"], - tags=["gcc", "fedora", "x86_64"], + tags=["gcc-full", "fedora", "x86_64"], factory=gcc_factory) c['builders'].append(gcc_fedrawhide_x86_64_builder) @@ -3857,6 +3857,27 @@ mn_elfutils_try = reporters.MailNotifier( generators=[generator_elfutils_try]) c['services'].append(mn_elfutils_try) +# Problem report for the whole gcc tagged builder set +# Goes to patch author if a new problem appears +generator_gcc = reporters.BuildSetStatusGenerator( + mode=('problem',), tags=['gcc']) +mn_gcc = reporters.MailNotifier( + fromaddr="builder@sourceware.org", + sendToInterestedUsers=True, + generators=[generator_gcc]) +c['services'].append(mn_gcc) + +# Change report for the whole gcc tagged builder set +# Goes to the mailinglist if a builder result changes +generator_gcc_change = reporters.BuildSetStatusGenerator( + mode=('change',), tags=['gcc']) +mn_gcc_change = reporters.MailNotifier( + fromaddr="builder@sourceware.org", + sendToInterestedUsers=False, + extraRecipients=['gcc-testresults@gcc.gnu.org'], + generators=[generator_gcc_change]) +c['services'].append(mn_gcc_change) + # Problem report for the whole gccrust tagged builder set generator_gccrust = reporters.BuildSetStatusGenerator( mode=('problem',), tags=['gccrust']) -- 2.30.2