Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp177937rdb; Wed, 20 Dec 2023 09:13:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXP6mkFd2HfdA/+5WIN55+uyqlDP6YZb9itHdUZwErbTl1v5gSVKn9anpixd4kFrqaKVlZ X-Received: by 2002:a05:620a:1a26:b0:77d:74a4:ea20 with SMTP id bk38-20020a05620a1a2600b0077d74a4ea20mr27588112qkb.8.1703092389552; Wed, 20 Dec 2023 09:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703092389; cv=none; d=google.com; s=arc-20160816; b=up9g+23HC0H/YU9Cp1bCin2KTUAaIZ93FfhT/hqL4UkWz7bJhwJjOSfP0cJBCxEvw2 WjNvvh29mfjWVrarQNE3agIy1+ky3kqpC7Ee7lEqnJJby7NbTpJy0arsPdQX93nbaTdm wC6kzY4SQCbl1XiXApwioBBEAtjV0y1KGhBWzbDLaP9tkGRLRZVdLpXmK3niTcZGt7xx drE6l4Rw3LMsiEusY6qzELZb25UkUUEAFEZJeAhZ22Ohz3PEurlL0v8d3W8PEdGnT33u N2+2bY1LG2stx2GkWhxowpyth4PfAsKyq1nq8L0AUAUfqwJ6k/lI5bwZuLMYTLUAcxg0 74eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=QB9ev+uMncqth39tI1tRydoRsIX73JNNXrX2aWeDi9A=; fh=B5HvmC16MC6M/nmaPHUJHmqOprmj+6GF8ybG3mi2GaA=; b=xS7lYbU92waESu6egON9vs9quhmzQsjUQIFZF6ixG4I3HV6Vd9srQEvuICwcWQYdg7 nO3Ebt0fbUnZix+Y2V8TuE3rgZ6r+wcnrrDKmjS44Sg7ChC4GyOhkhWUJmgIQgTA7Scv kA8Gqlm/cOFgPVzRI2tFhJ1omXyTyTd7c7X8TcZQjlLmwxIF6TgqeGzp6WA3czXADoSz t9uIoupeMUsgGUsEUWceR1CqZv3ptP86Ta0GAIsZDXv+OABD+6shQL3NVi/cINTqnr80 QTlR31IjGXFHx1E6BrZkKe+2/SKowcMjN4Mzm4+gwtHoqlt0z4zxhd83jxsMywzV5lBH mXTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=poN48gjs; spf=pass (google.com: domain of linux-kernel+bounces-7341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7341-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id vv28-20020a05620a563c00b0077f2495baa0si164358qkn.60.2023.12.20.09.13.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 09:13:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=poN48gjs; spf=pass (google.com: domain of linux-kernel+bounces-7341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7341-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FC861C24618 for ; Wed, 20 Dec 2023 17:13:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A1DF4779F; Wed, 20 Dec 2023 17:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="poN48gjs" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 14AE947787 for ; Wed, 20 Dec 2023 17:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2cc5d9cf766so67712861fa.2 for ; Wed, 20 Dec 2023 09:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703092377; x=1703697177; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=QB9ev+uMncqth39tI1tRydoRsIX73JNNXrX2aWeDi9A=; b=poN48gjswwuk8mYxNPgd8V3OSvQvaRT03L8QIyN+lh95Wegm7sBtUk+tn5ZGrfPjC0 6fCoPoc52+9y6+caYIVRrwHjel+4K3YRBTN2O0hmNkmjvRUr45TwGovJzKobM81Jl+RN 6PvTHWOlX0maV1WWxyHMOLcW0+YIhVD4VEMDcUnlZsW4tv7UpYU/F3QCQ+Rq2KcBzB9F l9NEjfi72+ihYZJXyJQdYfPvtdoY+EjUc6DPsLEYRS2mQj7ArndIpS60WDlckNSXEVhp FhZwcsHDu5Onukw0U9WXTG2YFwpgvy09y1/Kk6JKMGn8p2BMjXNiW55cM9envXJu4TM6 ybtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703092377; x=1703697177; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QB9ev+uMncqth39tI1tRydoRsIX73JNNXrX2aWeDi9A=; b=Y1fDC+sIASYOLWgULcHwIprBT04jqwZTgWuH3VDfyoYy3XvE5i7uVx3P4bVG6V1VlR xDb5gh8bdRPamUme/o3XCm9/zQjKxHEJZCmSt4Qtv8R7XH6UaagAUz6GbGL7b2P6aSHu 74iqN595HTpv84JF226hQFruWT6vPTmmORJN65Nq8joU8Bp5CB8RyOBtQlqANCKN8AHp JK4DhLA0bI0R3NDYCdnQiPb+eu45VaD3QNNsKce5ch/ItXrZWCoN7cmZBM52Sp6AjqHD sDyvTcdIMxLNJWX40UcW+vy2VTG4U8t4Jo9kwV+4BN4VzEdOdA0dngLRRJ0yJ2VKXtnb pGaA== X-Gm-Message-State: AOJu0Yw0TeuHjF72eO4x0ReVu4ctNBV0bhexz200NV71KLZh76y/+KyF GHmZgLgWDYVicp41zdl8T6MvvA== X-Received: by 2002:a05:6512:3c9b:b0:50e:50ee:f378 with SMTP id h27-20020a0565123c9b00b0050e50eef378mr1005745lfv.65.1703092377027; Wed, 20 Dec 2023 09:12:57 -0800 (PST) Received: from mutt (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id l15-20020ac24a8f000000b0050e23d8af76sm14916lfp.137.2023.12.20.09.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 09:12:56 -0800 (PST) Date: Wed, 20 Dec 2023 18:12:54 +0100 From: Anders Roxell To: Mark Brown Cc: Kees Cook , Andy Lutomirski , Will Drewry , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] kselftest/seccomp: Convert to KTAP output Message-ID: <20231220171254.GA1278954@mutt> References: <20231219-b4-kselftest-seccomp-benchmark-ktap-v1-0-f99e228631b0@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231219-b4-kselftest-seccomp-benchmark-ktap-v1-0-f99e228631b0@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) On 2023-12-19 21:21, Mark Brown wrote: > Currently the seccomp benchmark selftest produces non-standard output, > meaning that while it makes a number of checks of the performance it > observes this has to be parsed by humans. This means that automated > systems running this suite of tests are almost certainly ignoring the > results which isn't ideal for spotting problems. Let's rework things so > that each check that the program does is reported as a test result to > the framework. > > Signed-off-by: Mark Brown Tested-by: Anders Roxell Tested these patches on today tag and it works as expected. seccomp_seccomp_benchmark_native_1_bitmap pass seccomp_seccomp_benchmark_native_1_filter pass seccomp_seccomp_benchmark_per-filter_last_2_diff_per-filter_filters_4 fail seccomp_seccomp_benchmark_1_bitmapped_2_bitmapped pass seccomp_seccomp_benchmark_entry_1_bitmapped pass seccomp_seccomp_benchmark_entry_2_bitmapped fail seccomp_seccomp_benchmark_native_entry_per_filter_4_4_filters_total fail Now with this change it shows up in the results. Cheers, Anders