From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 960BA3858402 for ; Sat, 29 Jan 2022 20:20:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 960BA3858402 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 (deer0x12.wildebeest.org [172.31.17.148]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id A371F30012BF; Sat, 29 Jan 2022 21:20:45 +0100 (CET) Received: by reform (Postfix, from userid 1000) id 2B10D2E80784; Sat, 29 Jan 2022 21:20:45 +0100 (CET) Date: Sat, 29 Jan 2022 21:20:45 +0100 From: Mark Wielaard To: Thomas Schwinge Cc: gcc-rust@gcc.gnu.org, Marc =?iso-8859-1?Q?Poulhi=E8s?= Subject: Re: Buildbot failure in Wildebeest Builder on whole buildset Message-ID: References: <20220124122958.6E3378003E3@builder.wildebeest.org> <87r18wkej6.fsf@arrakis.kataplop.net> <871r0wuv4x.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-rust@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: gcc-rust mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2022 20:20:51 -0000 Hi, On Tue, Jan 25, 2022 at 11:42:41PM +0100, Mark Wielaard wrote: > I added a filesIsImportant filter to the buildbot gccrs scheduler: > > gccrs_files = ["gcc/rust/", "gcc/testsuite/rust/", "gcc/config/.*/*-rust.c"] > > def gccrsImportant(change): > for file in change.files: > for pattern in gccrs_files: > match = re.match(pattern, file) > if match: > return True > return False > > I think that should make sure that in the future any commits that > aren't part of the gccrs frontend won't trigger a build. This seems to work as expected and has the additional benefit of skipping those "merge" commits by bors since those don't actually change any files. Under https://builder.wildebeest.org/buildbot/#/changes you can see the "builds" for each change (some will now be empty if they didn't touch any gccrs files). Cheers, Mark