From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 424E3EB64DD for ; Fri, 21 Jul 2023 20:04:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229476AbjGUUEI (ORCPT ); Fri, 21 Jul 2023 16:04:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjGUUEH (ORCPT ); Fri, 21 Jul 2023 16:04:07 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE9DF30F1 for ; Fri, 21 Jul 2023 13:04:05 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-57a551ce7e9so26982487b3.3 for ; Fri, 21 Jul 2023 13:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20221208.gappssmtp.com; s=20221208; t=1689969845; x=1690574645; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TomPELES0btoPbET1jox6LAbgZCiLx1ew5yYJu+tG5c=; b=1WLyu4Hpe/lxlxpTM0ehnj5Z7xwaSVJ9zo9iYupdSkjMEwSGENskAXvcaPw1N1D+Mr AsoBZajmNzScsMgu7KgUnTDPrHm4DzDCv2RQDEyT53UzPPptIXzx+ZsNABqhdaVg8maA bKcalWXYwF1ipjY242Lo+rqTSUuIjb5VV9/h75fLAafQYWxVJfhLu87wRxaPMoZH7R1s QVrgBlLDAW/aiv3vVk6BuUZ4plZUnPT2nT7hjkXZTA1JNpSoYyjkp7yE4KLnrpNQ+6sV q3520dArS1iNh9IzV7kiwbJ5rRkWI9GINs5eD4yD0T4hAfvCR67wiBO24i5tzB/EEwL7 kmeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689969845; x=1690574645; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TomPELES0btoPbET1jox6LAbgZCiLx1ew5yYJu+tG5c=; b=fGsPGCW6Z1PHFD88PS188dkdGFtSWtyCv4eOlWPeIS2yyFPiljxTPkZpBGctJ76K1J 0j8AenUGcFtGiTNA1OX1lyYIVcbNhCHakG8nVhF9sk4BJtOs7NIYQvoFhC/eKe6Pxm7v VrXY3jQ6R3IG1oC99x8oGgXg0nzP18qKXpcQTwSH1f2IRzzAM/HnT2EJsuNRhR4vsnMJ B39EC4ThoD/A5ObpOpQOSD4NgBi1aHMu6Bz4dC6UcHraz57jJ0/Y8704ZmRiYbVW72zP e/F3OSXLMOZzoAvnfmKhebeybs+wiQUJgH6QreYlHd9xpuyzOhXI4sJ+5cV7ddpOVEon GWUQ== X-Gm-Message-State: ABy/qLbWOZQew0koWGDP/2+7/1JhTktWUQND4UyFLh0rq52NNWnO8OTF kNow8joTlYWgnrpp/jL/UtluC7tzwGzhp+FZYsXnHA== X-Google-Smtp-Source: APBJJlEPdMJRxiQhlUd34drFV7vOHEKMeokmBdEVBq+gmiPW+TQda2Yj1JRKVZyYtDsE67iYz2Ks/g== X-Received: by 2002:a0d:dd82:0:b0:561:429e:acd2 with SMTP id g124-20020a0ddd82000000b00561429eacd2mr835873ywe.35.1689969844918; Fri, 21 Jul 2023 13:04:04 -0700 (PDT) Received: from localhost (cpe-76-182-20-124.nc.res.rr.com. [76.182.20.124]) by smtp.gmail.com with ESMTPSA id q190-20020a0de7c7000000b0055a07e36659sm1101993ywe.145.2023.07.21.13.04.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 13:04:04 -0700 (PDT) Date: Fri, 21 Jul 2023 16:04:03 -0400 From: Josef Bacik To: linux-btrfs@vger.kernel.org, fstests@vger.kernel.org Subject: Re: [PATCH] fstests: make check actually honor expunged list Message-ID: <20230721200403.GA1275195@perftesting> References: <732fc62557b3dfdba820b83cd9643de314b6976e.1689968898.git.josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <732fc62557b3dfdba820b83cd9643de314b6976e.1689968898.git.josef@toxicpanda.com> Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org On Fri, Jul 21, 2023 at 03:48:24PM -0400, Josef Bacik wrote: > The patch 60054d51 ("check: fix excluded tests are only expunged in the > first iteration") messed up the logic, if _function will be true if it > gets 1, so the _expunge_test return values are inverted. Also it > appears bash swallows the output in this calling convention, so you > don't get the 'expunged' output. I noticed this when my CI system > stopped honoring my exclude list, this makes everything work properly > again. > > Fixes: 60054d51 ("check: fix excluded tests are only expunged in the first iteration") > Signed-off-by: Josef Bacik So turns out I'm an idiot, this was just working in my simple case where I tried to run a test that I knew was in the list, but of course it falls apart with normal stuff. Turns out the real issue is that we now expect the expunge list to be in the format of whatever/1 whatever/2 whatever/3 instead of whatever/1 whatever/2 whatever/3 maybe we always expected the other way and it just happened to work my way because we were using grep. So ignore this patch, but we should probably document the format of the expunge list files. Thanks, Josef