public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
From: Nikolai Kondrashov <spbnick@gmail.com>
To: syzkaller <syzkaller@googlegroups.com>,
	Dmitry Vyukov <dvyukov@google.com>,
	Alice Ferrazzi <alicef@gentoo.org>,
	automated-testing@lists.yoctoproject.org,
	Cristian Marussi <cristian.marussi@arm.com>,
	Johnson George <Johnson.George@microsoft.com>,
	"kernelci@lists.linux.dev" <kernelci@lists.linux.dev>,
	Mark Brown <broonie@kernel.org>, Philip Li <philip.li@intel.com>,
	Denys Fedoryshchenko <denys.f@collabora.com>,
	Tales da Aparecida <tdaapare@redhat.com>,
	Aditya Nagesh <adityanagesh@microsoft.com>,
	Sachin Sant <sachinp@linux.ibm.com>,
	Benjamin Copeland <Benjamin.Copeland@linaro.org>,
	Manoj Kumar <ManojKumar08@arm.com>,
	Michael Hofmann <mhofmann@redhat.com>,
	marcelo.santos@profusion.mobi, kernelci-webdashboard@groups.io,
	Simone Tollardo <tollsimy.dev@protonmail.com>
Subject: KCIDB: v5.3 - test input files
Date: Fri, 28 Mar 2025 13:16:46 +0200	[thread overview]
Message-ID: <be9de8bd-4d4f-4086-bb9a-90d7abaa3dcb@gmail.com> (raw)

Hello, everyone involved with sending results to KCIDB,

The v5.2 schema adding issue categories has been merged, and we're testing the
already-implemented DB support for it.

Let's now move onto the next change in v5.3: adding support for
specifying test input files (an `input_files` field):

https://github.com/kernelci/kcidb-io/pull/99/commits/07cc1885a1ecae6f25287b61b58ecb4f70a92e63

We already have `input_files` in builds, and `output_files` in both builds and
tests. So this change is, again, quite straightforward. Simone Tollardo, who
works on RISC-V kernel, asked for this (and did the schema change!) to support
specifying the rootfs which their tests executed on. Something like this:

{
    "version": {
        "major": 5,
        "minor": 2
    },
    "tests": [
        {
            "id": "riscv:ab266247c76746e",
            "origin": "riscv",
            "build_id": "maestro:27a3f84da7898ec9f4f1be8e4e043",
            "path": "super-test",
            "input_files": [
                {
                    "name": "rootfs.img",
                    "url": "https://github.com/riscv/kernel/commit/"
                           "f89927a3f84da7898ec9f4f1be8e4e0433db7879/"
                           "checks/39474543369/rootfs.img"
                }
            ]
            "status": "PASS",
        }
    ]
}

NOTE: This is based on the assumption that there could be more than one rootfs
      per build, so the build reference is not enough. Plus it's likely there
      could be other input files for tests, such as configuration, or sample
      data. Please respond, if you disagree.

As the change is minor and backwards-compatible, I'd like to set the feedback
deadline to the middle of next week, Wed, Apr 2. If there are no objections by
that time, I'll merge this change to the schema and database support on that
day.

Thank you!
Nick

             reply	other threads:[~2025-03-28 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-28 11:16 Nikolai Kondrashov [this message]
2025-04-03 14:16 ` KCIDB: v5.3 - test input files Nikolai Kondrashov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be9de8bd-4d4f-4086-bb9a-90d7abaa3dcb@gmail.com \
    --to=spbnick@gmail.com \
    --cc=Benjamin.Copeland@linaro.org \
    --cc=Johnson.George@microsoft.com \
    --cc=ManojKumar08@arm.com \
    --cc=adityanagesh@microsoft.com \
    --cc=alicef@gentoo.org \
    --cc=automated-testing@lists.yoctoproject.org \
    --cc=broonie@kernel.org \
    --cc=cristian.marussi@arm.com \
    --cc=denys.f@collabora.com \
    --cc=dvyukov@google.com \
    --cc=kernelci-webdashboard@groups.io \
    --cc=kernelci@lists.linux.dev \
    --cc=marcelo.santos@profusion.mobi \
    --cc=mhofmann@redhat.com \
    --cc=philip.li@intel.com \
    --cc=sachinp@linux.ibm.com \
    --cc=syzkaller@googlegroups.com \
    --cc=tdaapare@redhat.com \
    --cc=tollsimy.dev@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox