Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3020687lqt; Tue, 23 Apr 2024 08:19:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0drv7WhhKyyxV/YuNVsrzl2+KtSi07eO4S8QJAB/HBifuzvF8+zWogYln+WIDvk+u/n0TBQDuaXp6T9Sj7T+XNi0D/ov7JTj5dFRb8A== X-Google-Smtp-Source: AGHT+IFbb7oB4as8HzNR4d+evhee3/yJxxCLRM4EknWknaxAss2zI0AYmPRiULu6H6vsPOkRf7Ur X-Received: by 2002:a17:907:9448:b0:a58:7298:fdfe with SMTP id dl8-20020a170907944800b00a587298fdfemr3633213ejc.53.1713885555190; Tue, 23 Apr 2024 08:19:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713885555; cv=pass; d=google.com; s=arc-20160816; b=y8JvEsnP6fOpcUzgL3ACRZz934MdekkoZd2iLVYUnJLLJyC885v5+x6Mm80TVn55a/ 7/+1D9MWfWIl/4+omt54qpU2X0vQBsDSZsurcHzfws+fLvbKF3unnsVsDmgCPi6zw4yE FFEgK6kXO5iOIPcnBPAShVeorh2IMxzAf0QHgAPu9TB/f2WAy3EWFT8kI9kDpWiCphF/ Nq25EImEPE6FKRuYAXpM/5SUdeQmHt26tT4qtK6MXyimyOe6GgMe5FJbR4eRJckC8xjf zuqlpc+bgiBbEbNGulJgiD42KVVp/kzSEMuSXhSlgkF/eNt2GfZVJ2VT0kpeUYM+o2Gm e7Sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:to:content-language:cc :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=nRTm4fnBi6hV6VosE3xww5iBv9FS4FUZNIPOWO20FyA=; fh=l3QwDANEgVeoBrfvwLQKw3E7pCwUeXfPX5mFrFZZ/dY=; b=CIJfbboC596ZmotIiSsICcoBRW/s90aupt7jWaHVPZv+EnkWJ5vwHAk8uGjT9WTaVl 5177/a88C1qC0kGitYH7Ci8F9+rBeIJ+002A68r9SeMv+vFtSs9lXKx4eyBQzk2/o5Ej Z/8uw1qGIOoJfHvtcDK29E83KCUFLqDM6k1qpK7w+PXEBAYflmq5S3T1ZF+iEwYCpfAj gZgCm5D74HUTyc/1Nrrup+2/593XC3oXMx1Ksh9n7K+5lyK+YVChx5EaJVDPPFSZdO+Z UkYCUTBMD3/Ki5qF55Y4BYpvn+6njQHAwEkrlGxiOWJw+QC0gI4wHQtneB53UUz3gPIQ Fp+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZyvvSgpz; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-155449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hr16-20020a1709073f9000b00a55b784800fsi2635299ejc.919.2024.04.23.08.19.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 08:19:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZyvvSgpz; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-155449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6A82F1F229E5 for ; Tue, 23 Apr 2024 15:18:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 274D713C9D2; Tue, 23 Apr 2024 15:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ZyvvSgpz" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDFAE5820E; Tue, 23 Apr 2024 15:16:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713885418; cv=none; b=Niz4XSU0rbzHyYYD4rzfDT6g/ytAO+XlxjriMPpTuXcZp5X+z2QOzCKbY9ZmKDeozZLsuapERrRBNpU1u0mL0kxVUf3c6iOS+cCIXdwQfg9rYLcnqiSyF9oTErRtedfZ9I+gGDsIsaMBU6s01bmu+kxhB8eeWW5VYxUmW18x1jo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713885418; c=relaxed/simple; bh=h4yQKZsodwASQ8BaWwplG73xDGyXx08Io8ws3yHb43k=; h=Message-ID:Date:MIME-Version:Cc:To:From:Subject:Content-Type; b=IHk2xpZGR5VkFiGcU0bAKXH3pZM5x9tBy/0uB8yZ7/33Tz0b+3E68/MGguCBxB6WEAFhlgH6siUoyfVR9sJmq6EJPsAsMZXrcuy/60ABrh7DMGFs8fskSstitKlzt4sln6X05w2qaOukpms2i4+OOcxVcO3T1Nyys5pQ/yD/q+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=ZyvvSgpz; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1713885413; bh=h4yQKZsodwASQ8BaWwplG73xDGyXx08Io8ws3yHb43k=; h=Date:Cc:To:From:Subject:From; b=ZyvvSgpzomYyJOPD5OJaqVcG/9zmB0NKqRCIboLLNkHkNpvggR7JbbJMXNckipZci wJg66TIZOOBf+DFQ9fOkSala8QAu0vnDDKlI+IGG8+iwNTpan0OSMC76ZsHHfotZkF X9IyhcCfyfXjoadBS+Pzr3s/V1iE1A54TUaG+EfzhyJycL6uDyKcq69uC6l+VQL0e1 faMnqXVkHCQrWhvlruBdwDeELAuM0FcBju/dnNu7iNYP9YGh74D9IFh+5CEeJIC9re aUU37CgTkP3pOw0Hv8QfPxl9S2ge/Yku/kbMw/MgGs0FNPaOHj06t8NKmAtLAzyHe7 JNDeqd9nzAbUw== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 6B7CE37811D1; Tue, 23 Apr 2024 15:16:49 +0000 (UTC) Message-ID: <02c3926c-84fe-4526-a746-6964f5290c14@collabora.com> Date: Tue, 23 Apr 2024 20:17:18 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , automated-testing@lists.yoctoproject.org, "kernel@collabora.com" , kernelci@lists.linux.dev, open list Content-Language: en-US To: Shuah Khan , gustavo.padovan@collabora.com, "open list : KERNEL SELFTEST FRAMEWORK" , Laura Nao , Shreeya Patel , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Helen Mae Koike Fornazier From: Muhammad Usama Anjum Subject: Improving the testing quality of the kernel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I've been working with colleagues at Collabora to improve the testing quality overall for kselftests since several months. We had identified following key points to improve: * Make non-TAP conformant tests, TAP conformant to catch the bugs/failures in the CI and non-CI environment. Without clear success or failure message, it is difficult and at times impossible to notice the bugs and which part of the test or sub-test has failed. * Add config fragment if it is already isn't present. * Improve ancient tests to be robust. KernelCI helps a lot in finding flakiness or non-robust pieces of code by building it in range of configurations and running it on range of hardware. As new KernelCI is in works, we are identifying which kselftest suites could be most suitable to be enabled in the start to keep the noise to a minimum. The criteria to enable a suite on KernelCI is: * The test suite is TAP compliant * The test suite passes in preliminary testing on x86_64 and ARM64 platforms * The test suite builds fine with Clang in-addition to gcc To facilitate transparency and track our progress, I am diligently maintaining a spreadsheet [1] with detailed information about each suite's status and requirements. Furthermore, I have commenced exploration into KUnit testing, and initial results are promising. I plan to delve deeper into KUnit testing and will provide further updates in the coming days. Your feedback, insights and collaboration on any aspect of these initiatives would be highly valuable. We greatly appreciate your collaboration and support as we continue to enhance the testing quality of kselftests. [1] https://docs.google.com/spreadsheets/d/1XRCgxlY1b74aIOIXQ7qDR-62KTJmuV1ow9st4fpeVhA/edit?usp=sharing -- BR, Muhammad Usama Anjum