From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796305344; b=nn224CHo5zq0sG5tUU7xztylgBhjVyfj2dXjgoZegawxWmoU0n1ulKsYpedAoTfHavvQ UINLqrk/LVNIzhMZdMkJOPZgczD5gqGAUDdgdct03qZoCMR1VAewcbMKWSrIewXwO7lT3 XTvK5pmF4z2pi1HavyAjmZeUiw+n29JX1gDaMtaVjCBNETx412KXo4NzF3Ncnk5JfyIK2 fRgiFBm9ZP6Xw+a/aLkdfgo9+GZaIS/rEgk1MAv2VmHyefao1unr9RjjbBIxa5T5F9mZ7 xpq1O8mO1WjMw0z9lSyKf6ujqjr+e5WGkrnDaskJIYfp8HRmcm+UL4Ze/MliJL9V1xg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796305344; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To: X-Authority-Analysis:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=pfBJ4KFl57htns0EzJSWbjazxVRlTPQY9Mwy4bGOSjY=; b=2GHqJF6xk1GpieSbUyIxItKioQbrzetHfIahpDLOHbmJ2J2pTx9I4Q47+cKGfGyvxeOM ZTGvWt1tWYQeOB7e6Wzrn2bUr/n+a1PAFuEND31JIOghx0BgGn/AiEP5U8yEtrSuNE2qP /HKEppzYEuFxPthndkotM/COCfua3/jny6g931/MnhkgeBNWwgGsZqhWF7TyR0bKYKOlY Egu1fwml69t981lsCtAB6Q27IMCZo14cBy9Yo1c10Iktxx/OzJgIiyjy2MV6zWRD27D0p aaRCFCQdiLinVq9lYD+LHtPXrQwzSMmSmbfTzssP3VDc2yrGx4Ouce7sbaRMbbzd7cA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pl+yiNKR; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=BeT1r0ko; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E24AC606A32F for ; Thu, 3 Dec 2026 13:42:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E24AC606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pl+yiNKR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=BeT1r0ko Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3DG3Wk186066 for ; Thu, 3 Dec 2026 13:42:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= pfBJ4KFl57htns0EzJSWbjazxVRlTPQY9Mwy4bGOSjY=; b=pl+yiNKR8QYoz8DM 2g3qA3n7F1A9PqYCg6POX4H4geMsxcCdXzVKYkmd9ChYKrEQE7YP6bk/gAIlPfOi r5eyc2yKzv0JDr+VNuyZF+XAoHe+YeJR6afwp8qSQafRtT4q5dcZae9tLC7mzPjS xAWnbfJ6b8E9pbPP9YRgO6mMGLKuXjnxHxptUz5ZrQN6lrj4eeEUXCev699BFHQR ij3MXfrU0cxV+2MvqjdBpf6aS2e3xjNqzHuyxwSPCpU7fbSy8+/NbDXgVtVvjOH5 j6+cY0Mq2PBrEXvD8sPk//RXM1es9B+EuW8VUmRp17k9Lbnq9Auae8TkhTNW2SeS rxj+SA== Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb395hs9g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 13:42:23 +0000 (GMT) Received: by mail-vs1-f72.google.com with SMTP id ada2fe7eead31-7d65ae19133so9291815137.0 for ; Thu, 03 Dec 2026 05:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796305342; x=1796910142; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=pfBJ4KFl57htns0EzJSWbjazxVRlTPQY9Mwy4bGOSjY=; b=BeT1r0kouytWSsIgyY5W+jwjTUphh1DhkDi6+03Ak087JFNiA3oUuFh4mmN7z2xPJz azqPGhO55XrMBVdZh+E4FiQOFidFAbf5WGgEMZBLU7aJkG5/cjs65JWhrARMpTIHfoTP z9uE93nxCc4qpbwH470Axh7RwL5UMG0qXnhKP9b6BqZHtwGZcD+9L5OFQBrbnswFMrdH EvdDZswPEFKJGKm/mbZbIF01Xo2AG3H8punTRGoglTY0DsylXvXIOj1i8F/1w67rNX6F gmYYPMYn8fYDMEHePfC1smAZhuYlo7UhcdPC8cNfvKkc8r1JHW6tgqZkSBxzpnziZSq9 9mrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796305342; x=1796910142; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=pfBJ4KFl57htns0EzJSWbjazxVRlTPQY9Mwy4bGOSjY=; b=k4ZCB3EKATneBCOwGAhIOV/jxUv5oIzQJmTS8GmRvX7VFbAFxFjDR4ExjTv9Uid0qW PS8dQI1/nlgK7XfHnZfaMYvm7YoiV2AF3UBsqkJrQBC9niqyRgu+1Dkb3UuWGdnEVhHv vpaFOsDWcC8VQJzZ/+bD9ew9iSWxowGkNgEVLSowcC626WvDuiJlJB6xwX0VtOWRukSO V32BdrXE4hDFBQkm/IgmiHVqzp2Ze8LxD+TQcxbkCyCDMPn3AV2sPMXPUCYsZMapSw24 nxdF+d9EMO0tibFW1AkKw9Iplx45eZJVKvqAp361LR8ut6Jc5ohoms17Wgmi2lacZYKZ sjjQ== X-Forwarded-Encrypted: i=1; AL+hErF1nvtU5mCiWNtSqwaTjM2V64+wNWbSLfAjZn/ITjJWj+oV1EU/ZfpZZeM4gTR4lRBFNwY1N2eaDA==@vger.kernel.org X-Gm-Message-State: APuU4Z8D0XqSkDdIHoq+0q9ReMt+R3YTYk73HXxBArOkZG9nXpXUt/rT 7aG8Mqj0NKlXVA+lKHAy6D2yVxR7s4m1uzwPwZndo2ODkkJcp7b28MF/o/eX7JozlEdNOrnwVlb tgHXO7KfL4Na5LbITtfLehLaJjf4R9aVd8AOJYzmI21B3xelVEWkb7RqwjRzeZg== X-Gm-Gg: AZFdTZcW7n1q7Rwo52neUJ3CGep1lcJ7Wrw5E9IosrHX8UaUqBDWdDU1gkclrm7r/c4 j0Wl5kzG9dT4v/HAWh+ZnvrrGbPofhEcy437QqMT1+QCnAXe+lXE14aLdoxGZkmqIFHH7wfFhuB vDLPzsncCxbJlZ91v2iNe1J101ntk7hrJSyI59oaYelwXMu+GzHTZPwuySppChmiEWGMeX9bNQo MvDQhUk8MgOXywGcRrDuH++BDedq8XvkGGsnmgK9BucNJIEemoZ98j+9JpSh5x2Mf+nawoTMriy pr5c0QbJHJo7yqhEoajWHilyPSVYDLoxVI8rC2I7k5DxGk8uQF+MuI4Cz1qGA6KFw+REjB4TEgh RGnDIEw4OJ8077MH5io3QbJkPTQsFnMFbytK/C3+c3QulqWtjAZXsw47ERt88BfdxUaCnIXZBN8 IlsjWaTeNu+Y88OI4T9rqa2AexXfOUve5pJ5Y8qFa6k47EcgYuRt1W+Md5/o5p9Fa40qg= X-Received: by 2002:a05:6102:26d5:b0:7d2:d9f8:21cf with SMTP id ada2fe7eead31-7d7396291bemr28478635137.29.1796305342023; Thu, 03 Dec 2026 05:42:22 -0800 (PST) X-Received: by 2002:a05:6102:26d5:b0:7d2:d9f8:21cf with SMTP id ada2fe7eead31-7d7396291bemr28478612137.29.1796305341530; Thu, 03 Dec 2026 05:42:21 -0800 (PST) Received: from tern (2a01cb0807de0d00b3e43f06996e032e.ipv6.abo.wanadoo.fr. [2a01:cb08:7de:d00:b3e4:3f06:996e:32e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fec7sm79904912f8f.26.2026.12.03.05.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 05:42:20 -0800 (PST) Date: Thu, 3 Dec 2026 14:42:19 +0100 From: =?utf-8?B?TG/Dr2M=?= Minier To: Zhongqiu Han Cc: "Rafael J. Wysocki" , Viresh Kumar , Shuah Khan , Muhammad Usama Anjum , Shuah Khan , linux-pm@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] selftests: cpufreq: Propagate do_test() exit status Message-ID: References: <20261202-kselftests-cpufreq-exit-status-v1-1-05e9c2a9a075@oss.qualcomm.com> <9fafe114-88e0-4101-82ee-07d25f9fc0ef@oss.qualcomm.com> X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9fafe114-88e0-4101-82ee-07d25f9fc0ef@oss.qualcomm.com> X-Authority-Analysis: v=2.4 cv=DK8acCNb c=1 sm=1 tr=0 ts=6b1171bf cx=c_pps a=DUEm7b3gzWu7BqY5nP7+9g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=M51BFTxLslgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=ZVr1jk50GgeyWgKTXgEA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=zgiPjhLxNE0A:10 a=-aSRE8QhW-JAV6biHavz:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA1NCBTYWx0ZWRfX6Sk94w6Q9AIC pZ8h7bFRT8MXSExPQABRzTiJF9ybr2/+dOnARs04k8xC+DUPig5IJsob01IZRTy4BDczwR4PlrA GT3ew5Pt6B89fK+jsJugx5wvHezNx1HGP3QJ/hxgSiASt7E89x6GcxrmsMcR4fMvTyDyT8XqkjR 5/7AXp5rqWd4j+Jpbie2/Mi4YfB+mbaFe074+b5paP/5mz+swqTwwJLmJiUxdTLRfDKzGPgVvMr fJwnkRmNFiUyfEp+ZGzfLvqXdlR4ACq2cbCAOciDZNL3Pk4IJETEnaQow7BE0/FlUAxVkyWh0Zp n86wsmpSA9nnl3trKs9ctaA/S7eO3c5HH3XvP9NFhW+VqGlkGo0q8zNOrFBh2NQb34QFt7KdaKS bqH8f7nZRoMFTX4T3GNCigSqttdFN5XfLl/i6vZOGXUc70JBmuM8p0IzQCGhLK1tkQP5+ZSweDp Za+iw8UQECjzCYc4zFg== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA1NCBTYWx0ZWRfX6f3QWUkwl02O FU74PYb/1m5H34aelXmVoQz7zIUBJXnlxIo4h1NmEc6tleL5VNMNAl0E0Wr7f5gaOpxTE5VoOQr N0lvH/894yH0zPmI3pde6dDHwXnQuyI= X-Proofpoint-ORIG-GUID: gZ3UP0RsebrAwQ5zDiK_eLaUWYRI_Llj X-Proofpoint-GUID: gZ3UP0RsebrAwQ5zDiK_eLaUWYRI_Llj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-03_03,2026-12-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 suspectscore=0 adultscore=0 phishscore=0 clxscore=1015 spamscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030054 Hi Zhongqiu, and thanks for the quick review! On Thu, Dec 03, 2026 at 11:07:46AM +0800, Zhongqiu Han wrote: > On 12/3/2026 4:59 AM, Loïc Minier wrote: [...] > > Fixes: c7e84706fd3b ("selftests: cpufreq: conform test to TAP") > > The fix looks correct to me. > > However, I think the issue was introduced by commit 40d70d4d6097 > ("selftests: cpufreq: Write test output to stdout as well"). Commit > c7e84706fd3b ("selftests: cpufreq: conform test to TAP") attempted to > fix it by checking PIPESTATUS, but the fix did not work as intended. > > So the Fixes tag should point to 40d70d4d6097 instead, right? You're right: before 40d70d4d6097, do_test ran in the main shell, so its "exit 2" terminated main.sh with that status. Running it in a pipeline moved it to a subshell, and the status has been lost since. c7e84706fd3b tried to propagate it, but the check never worked. I'll wait another day or two and then I'll send a v2 with the Fixes tag pointing to 40d70d4d6097. Best - Loïc