From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9CDE33D6D7 for ; Mon, 3 Aug 2026 15:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785772573; cv=none; b=JQ6Qqb8RqhXsuQKAei83PWqMK8PNSemfjZifK0VTmAxRKJjFW3tttSl4ydbvaUQiTJlUv1ElpZAPlFSpWS0WpPWXOQ7RtsJS8hbCITh6CMiiCplJGDnQYEW64hnZmFJ4HSx0NPc1Kuo7APmWeM3xPCA/qOlLIzktUzl4XKG+wDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785772573; c=relaxed/simple; bh=GWcILHSPgl33zJRFqewc4R17VJZqifG3UyuvPdkNFBM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KuGTpt+GFNhf0rI0sThirArXSrj/vUXcugic5izrpkr46Z02DTFQqICCoZ4FEaP3xB4mJqyhThXmnEeNP9EHiQsvswFfSfn5wzwwzBl2vMznptrAggs34PtE2kPd7HsVy6NwZAZCOxKSsOWaRN1x56BBJMxRUUJFA+Gg+p6LTLA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RPAp+1Ra; arc=none smtp.client-ip=209.85.167.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RPAp+1Ra" Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-495c49f8eccso1998103b6e.3 for ; Mon, 03 Aug 2026 08:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1785772570; x=1786377370; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=gwHf3j2tYQaR0XA7BZUjP/88HA14cOPU3+rnZKOaXIc=; b=RPAp+1RaRJLThboFzwPBLJ2WgLbBsjNyaJtXQ0sAJN5PF5tZSrooOqstqRwgDCa0KS o8us6GcFQysiLp+rJV44SfL0FxWgDZq7es1VXpl504fMLqO6TdtDh/VzpMwd9cZ4GYlL FXDBGOrE2pYWe3WdKFT5D8Btjso9HJ2TDtdPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785772570; x=1786377370; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=gwHf3j2tYQaR0XA7BZUjP/88HA14cOPU3+rnZKOaXIc=; b=XD1zgD1KN9DVw9Ow2UzGkUpKi1G2dRmyoxeE7ucpEWFeG2co71/sYjlD1LgZNM/bgs Xpf7IRVB4tAwxYwf5BJS+OWC18ydbnzMplDc0+eAc4QtqnZxX2bcVnwMu4GFE9VPc9sM BG5HhbeJJUTZCCtv3ZEh71tCq6be5klxVCQNV39czNvXbTaKmMqOqcGbgSzbMto0SgC8 w3RW6YpaM8ZYa2fxhQ9aI6AFgJaYUbfBde2n7ycGOYaunq2yHsFjrm2DfsoF7FTyuHMH GmlRls3F516ycSgyQGKTlzCL8KuqHYTK3Dz71UDebft1Npd8TJ1WWAE0vEVAPbzqqwqq I/Nw== X-Forwarded-Encrypted: i=1; AHgh+Rpu2eiXysyFX6hS4+G8yKee8AKtFroylCHaeHsxINXcfxBhyyVtoOth5v3vcOawHSMx+/Jj+Yp2GEDl8ZI=@vger.kernel.org X-Gm-Message-State: AOJu0YwwPlOSELbRYRQGAfTy4XE9+Vgr6Cgqr2rBQmNA+pH+/iCkwXXy xNUgpqC/Vk6lzUVjGwIth0XR72N3/eNIi7xVn9GyoKttLLgVkiCifa/JlPL6IdqNDLA= X-Gm-Gg: AR+sD13rv1Sq/SIaKF0D+zicAfhQpx+9jIApD3S3Ucmw5IiATYYAjr4RR3R2ZXmtYiG T8hDHWwMPa4H9Yw6hvodXo0WGU5JtBNaVU1OdTHa99GEzveBElNKWFE+2Q6zZZofcGEpmCESpEN 0/b2b8vkDUGpkGvVGHI9XYzObv1UR87Smv7Xf0QP1fF+YmzjtWMWrFu6rgPEys0jSAAMDLTogUL yrb35OuPl+yc2Ovt4vdh+AsQ9Cu9femxFPiNn+R3dxO9JVS7i1OT7QFuOPwHL3DdDqwZP/BeVg/ OYdpdd6saoBGWp6c+J+GFQ/LP+BWA4KHJF0TjH095lYNZNNtMZWAhranhPS4bkB9ff/tprcXD3r 6Tf8e/EsGI9hkakyONLmGx3QNeH/nD5hsHRxVpYdlNYDY/KtiSCXGOL06yIVN0f/58+Y6Rk7KOa e+mI0rJLNY8o3Sx0PrPKxiyYH1Wt8jeUXVEKgweHM+5V3cnE8nacnBM/s5nigEv0qHFGVuvQ== X-Received: by 2002:a05:6808:67c3:b0:495:eb9f:53c4 with SMTP id 5614622812f47-4af5e1f32aamr16411131b6e.9.1785772570647; Mon, 03 Aug 2026 08:56:10 -0700 (PDT) Received: from [192.168.1.128] ([38.15.57.99]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4af58d1112csm6979286b6e.5.2026.08.03.08.56.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Aug 2026 08:56:09 -0700 (PDT) Message-ID: Date: Mon, 3 Aug 2026 09:56:06 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] kunit: tool: fix _list_tests filtering wrong variable when list has TAP prefix To: David Gow , mohammad.abukhader@hotmail.com, brendan.higgins@linux.dev Cc: raemoar63@gmail.com, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Shuah Khan References: Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/30/26 06:12, David Gow wrote: > Le 30/07/2026 à 12:19 AM, mohammad.abukhader@hotmail.com a écrit : >> From: Mohammad Abu-Khader >> >> `_list_tests()` runs the kernel to list tests, strips printk timestamp >> lines via `extract_tap_lines()`, then drops the dummy TAP header from >> the cleaned `lines`. However the subsequent regex filter mistakenly >> operates on the original `output` instead of the cleaned `lines`. When >> the kernel output includes timestamp prefixes (common with UML or slower >> setups), e.g.: >> >> [ 0.100000] suite.test1 >> [ 0.100000] suite.test2 >> >> the anchored regex `^[^\s.]+\.[^\s.]+$` rejects them and `--list_tests` >> returns an empty list. >> >> Filter `lines` instead of `output`, matching the behavior of the >> adjacent `_list_tests_attr()` which already returns the cleaned list. >> >> Add a regression test with timestamp-prefixed input to verify the fix. >> >> Fixes: 723c8258c8fe ("kunit: tool: Add command line interface to filter and report attributes") Missing Signed-off-by Unfortunately I can't apply this patch. Please fix it and resend. I will try my best to get this into Linux 7.2 thanks, -- Shuah