Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp56628rdb; Mon, 22 Jan 2024 11:46:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVWCQPpsHy7d9EDpwwPiBqe8TNTkdgMiZVW5+5s/T4za+6t1cChACi06W1GTau0G5Pxcwk X-Received: by 2002:a05:6358:7252:b0:175:4f0f:bbb6 with SMTP id i18-20020a056358725200b001754f0fbbb6mr1612353rwa.25.1705952818032; Mon, 22 Jan 2024 11:46:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705952817; cv=pass; d=google.com; s=arc-20160816; b=gj0Id0sv+/ZICIUIJdGL5XjVSg/ps4nvy3Hku00SfX6+VDQu9ZWsLQ+KEC2tOkUHrS E59o1FaMoQ2XkglNElYrckjC2bm1YAL9QXErHpxpcIG8MB6jiwDLtXoTBtnj1hbim6zs gcSrsoaTKzV87FQmKPXcbEwlWNkaiE/h2f0PEtZuYQd1Ck80wykIkFXC1ZF6uGuHH3DH kPKbmasqHKyXh5wpCxhyBq6PlkwY7MXYODQBS0IJLsINHvptzhj2tuMt6USrfzfR3Hdl /0TZYbPV3vzSdUNKmZaq/OC9Fnano/w4pQgwnt4DqVEOTMFKhDIojME7bkcqN6izOnDb oFpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Orh3DxVuy7FomCJWRBsIA4WQS0J2kl2fyD9SPWqPEOE=; fh=UZDjf/81VKBCRoUWjQZxftO+C3x+z3r55ts+tm55AXk=; b=iRtyaxD6pPhZkn5CJ0TbhqIvU1/nQsSC7gC0QKJUy392xi7E+BMfKz4ijdIsu1EGbg lGZ3mivXqRuEriaD2HbYyIb1QOjNfCmCOjbIlgxt8OQpNrUdf5jauqevRIGx8vsUFkzh NuIV0lbnc5U+hPenHSOSFxFpwYiK9uEazxsyyX3ehAJ7HJRzdS6aIXiroaVCspYI868L umUsgGwFHgwqPg/dz48I+HrttHw7KeZWv1UxsvLuaJP8Hw7T2ZaLbdmRsq0znWfJjeM9 LY5/e4/ZqikQuBeong5TzeZAUS2Yn0TGeRFTY1+OB+xbBq6y+jaf3QDNZ0wfAozNGyhh 8IMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=X9ISJbza; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-34040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 21-20020a631555000000b005cdf71d561esi8747295pgv.683.2024.01.22.11.46.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:46:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=X9ISJbza; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-34040-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 69B9DB2479E for ; Mon, 22 Jan 2024 19:17:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9C343D979; Mon, 22 Jan 2024 19:13:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="X9ISJbza" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 6FADD3DB93 for ; Mon, 22 Jan 2024 19:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705950805; cv=none; b=LgLX19Sxmu8W+30BhiL7Mc4ZEsWFqXDJKo41D8+Pgnjsa6QksFpFqicKJhiR7Z/Tz3BqjR+ZAYM1gh3m658lewsnqLvRcYSpj5ckrSaEF+bjWitA0f++TLBUFF2uNhvLY2sgtaVHp3+tMOtyvHet83bxTrMLuLLyEAQjKUM4nFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705950805; c=relaxed/simple; bh=AA99IbHEqg33AL5D9QM97dKtQa8fHo0ZMYf+NpFTY7k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FvNKeJrpHGXVuBssDDhF7U8ZCz9pyKAUlVvGSxlTolwsWEk7AAhwGo90uED1iY7VNxIEdkQKf9IeyoCFb0dC2suLl1Ou0GJXeECOsaOdWCKjSLaU2hy1I03J4ANIruoHJ4aFuhSlDI7VmngynpSmfOpVBwi74NsOxiJGDRPhvoU= 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=X9ISJbza; arc=none smtp.client-ip=209.85.210.178 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 Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6d9b23698c0so336882b3a.0 for ; Mon, 22 Jan 2024 11:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1705950802; x=1706555602; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Orh3DxVuy7FomCJWRBsIA4WQS0J2kl2fyD9SPWqPEOE=; b=X9ISJbzaotRvxTuY5yH9U4Rw4lvoFNLJZVRxccwSaOu+Nh6WQyFFQ1LKWR4xfRVULK JTC/9EpaWC5DF6cwDSejLpQO+pOpMrMNurc2IJfe8a7w3CFcfPqfFpyGJa6hvbGp5L5Y kimqpYvHLiwoj+jRtgq5tmufLZ8uYElu/ywyU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705950802; x=1706555602; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Orh3DxVuy7FomCJWRBsIA4WQS0J2kl2fyD9SPWqPEOE=; b=aJinyvQLwyp42mCRP12lVz0tTHt0qRyhccm1me29eSvHCxwrRnFMA4kufKmMST3xTK 3WrkG13O/QoTbxHk6BCOC0fWE4ACtcQL2A+naivzFjZp+kepNTk+McyiY2jki9TsLBOw 7sbJxXif/fZFSk+5hhB3sCs8b6Boyx0J/oOdAWDV3EZNRxalhZDBI3sbJ15W79VRLPgL vPalflNnZ72WTLRJ4MecEMS5JrjqkI/dtcNpDq2mgKU1cO6oyhNDQlLOFI9k7Mkro2cx tZswAJJYuIlRyJupajCH4IizwFFG2ejEU5ao95zkkj4k814RyGA7fuk5flL5y0e+v8SX dn4g== X-Gm-Message-State: AOJu0Yw08wtttgyErd4xAR0xwjLE30B3tzxxuLAcRXbMpWnBg5kk1BDR 6q3zMVHXeqT/K46r+G1vjdWXB56/9KL6sUxcpQpULx02t/P/EzeB3yxaE4WrGM4= X-Received: by 2002:a05:6a20:2d0b:b0:19a:bffa:f28b with SMTP id g11-20020a056a202d0b00b0019abffaf28bmr10903560pzl.2.1705950802683; Mon, 22 Jan 2024 11:13:22 -0800 (PST) Received: from [128.240.1.152] (rbi200e.jcresorts.com. [206.170.126.10]) by smtp.gmail.com with ESMTPSA id ca28-20020a056a02069c00b005bdd8dcfe19sm7521738pgb.10.2024.01.22.11.13.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 11:13:22 -0800 (PST) Message-ID: Date: Mon, 22 Jan 2024 12:13:18 -0700 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 v2 2/2] kselftest/seccomp: Report each expectation we assert as a KTAP test Content-Language: en-US To: Mark Brown , Kees Cook , Andy Lutomirski , Will Drewry , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell , Shuah Khan References: <20240122-b4-kselftest-seccomp-benchmark-ktap-v2-0-aed137eaea41@kernel.org> <20240122-b4-kselftest-seccomp-benchmark-ktap-v2-2-aed137eaea41@kernel.org> From: Shuah Khan In-Reply-To: <20240122-b4-kselftest-seccomp-benchmark-ktap-v2-2-aed137eaea41@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/22/24 09:04, Mark Brown wrote: > The seccomp benchmark test makes a number of checks on the performance it > measures and logs them to the output but does so in a custom format which > none of the automated test runners understand meaning that the chances that > anyone is paying attention are slim. Let's additionally log each result in > KTAP format so that automated systems parsing the test output will see each > comparison as a test case. The original logs are left in place since they > provide the actual numbers for analysis. > > As part of this rework the flow for the main program so that when we skip > tests we still log all the tests we skip, this is because the standard KTAP > headers and footers include counts of the number of expected and run tests. > > Tested-by: Anders Roxell Hi Mark, This patch is missing Signed-off-by. Please fix and resend. I will pull both patches. 1/2 is okay. thanks, -- Shuah