public inbox for bunsen@sourceware.org
 help / color / mirror / Atom feed
From: "Serhei Makarov" <me@serhei.io>
To: Bunsen <bunsen@sourceware.org>
Subject: Re: bunsen (re)design discussion #0: list of topics, review of terminology
Date: Mon, 07 Mar 2022 14:03:57 -0500	[thread overview]
Message-ID: <699471ef-d43a-4d36-8ae9-5b2f657271a0@www.fastmail.com> (raw)
In-Reply-To: <58451c27-bd3b-4305-b894-3862dfe76808@www.fastmail.com>

On Mon, Mar 7, 2022, at 1:59 PM, Serhei Makarov wrote:
> ...
(once more, with proper word-wrapping for plaintext mailers; apologies)

I'm in the process of re-evaluating and re-working some core aspects
of the Bunsen code, with input from Frank Ch. Eigler. This will result
in several public emails like this one as I sort through various
concerns.

Initial list of topics I need to cover is below. Incidentally, it
approximately matches the sequence in which Bunsen concepts would need
to be introduced in a Bunsen man page or tutorial.

(0) Review of Terminology
(1) Testrun Representation
  - version identifiers (source_commit, package_nvr) & sorting
  - configuration & whether to allow 'arbitrary' metadata
(2) Repository Layout
  - splitting testruns across branches, fche's suggestion
  - speculation: should we adopt SQLite? or borrow ideas from Django ORM?
(3) Analysis Pipeline
  - splitting querying from analysis from formatting
  - Index class represents the result of a query
  - Table class represents data for formatting (as plaintext, HTML, etc.)
  - configuration file format: borrowing from the 'Makefile' metaphor
  to describe items of data and reports Bunsen produces, and how to
  refresh each item when its dependencies change

===

(0) Review of Terminology

Bunsen repo: collection of test result data managed by Bunsen

source repo: Git repo with the source code of the project being tested

project: identifier of the project being tested, e.g. 'gdb', 'systemtap'
- One Bunsen repo can include data from multiple projects.
   - By default, Bunsen analysis is run on data from one project at a
     time. This can be overridden by providing a list of projects
     e.g. "--project=systemtap,systemtap-incomplete".
   - This is useful for a setup such as gcc-jenkins
     http://gcc.gnu.org/jenkins / http://3.14.90.209:8080/ which
     produces results for several projects such as gcc,ld,... in a
     single testsuite run.
   - This is also useful when we want to split out a category of data
     for separate analysis (e.g. projectX-incomplete for projectX
     testsuite runs that crashed partway through and therefore don't
     include full results for all testcases).

testlog: test result logs (a file tree of plaintext files produced by a testsuite run)
- For example, testlogs from a SystemTap testsuite run might include
  systemtap.{sum,log} from the DejaGNU testsuite, plus additional
  diagnostics such as systemtap.dmesg, stap-report, sysinfo.

testrun: the parsed representation of a testsuite run, currently stored in JSON format
- More details on what this includes in the next email.

(May have further clarifications / definitions of terms in replies to
this thread.)

> All the best,
>     Serhei
>     http://serhei.io

  reply	other threads:[~2022-03-07 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 18:59 Serhei Makarov
2022-03-07 19:03 ` Serhei Makarov [this message]
2022-04-07 16:57   ` Keith Seitz
2022-04-08 23:13     ` Serhei Makarov
2022-04-09  1:56       ` Frank Ch. Eigler
2022-04-09  2:22         ` Serhei Makarov
2022-04-09  2:26           ` Frank Ch. Eigler

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=699471ef-d43a-4d36-8ae9-5b2f657271a0@www.fastmail.com \
    --to=me@serhei.io \
    --cc=bunsen@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).