]>
sourceware.org Git - bunsen.git/log
Frank Ch. Eigler [Tue, 21 Jun 2022 16:38:41 +0000 (12:38 -0400)]
r-httpd-browse: add popup title for cluster navigation links
Frank Ch. Eigler [Tue, 21 Jun 2022 15:45:49 +0000 (11:45 -0400)]
r-httpd-browse: up default --max-diffs to 10 as some sensible queries want 6-9
Frank Ch. Eigler [Tue, 21 Jun 2022 15:13:05 +0000 (11:13 -0400)]
r-httpd-browse: usability tweaks
- add testrun-diffs -> testruns backlink
- add --max-diffs (horizontal) option
- add --max-time for r-* subprocess timeouts
- add useable commitishes= textbox to all-testruns view
Frank Ch. Eigler [Mon, 20 Jun 2022 23:58:38 +0000 (19:58 -0400)]
r-httpd-browse: tolerate accidentally empty commitish= textbox at top of testruns filter
Frank Ch. Eigler [Mon, 20 Jun 2022 23:43:35 +0000 (19:43 -0400)]
r-httpd-browse: add cluster navigation to testrun view
Add an arrow and a delta (plus a count) for metadata-induced
clustering, for prev, this, and next clusters. This allows the user
to navigate between and within testrun clusters, and also run
testsuite-diff operations between the current testrun and related
clusters of testruns.
For better or for worse, some of these clusters can be quite large,
which means the the diff operations can be quite expensive & produce
large results. Some throttling limits will be needed shortly.
Frank Ch. Eigler [Mon, 20 Jun 2022 23:42:39 +0000 (19:42 -0400)]
r-show-testrun: add cluster navigation data to json output
Frank Ch. Eigler [Mon, 20 Jun 2022 23:42:08 +0000 (19:42 -0400)]
r-find-testruns: switch to testrun.authored.time default ordering
Frank Ch. Eigler [Mon, 20 Jun 2022 23:39:44 +0000 (19:39 -0400)]
i-testrun-indexer: tweak default keywords
- drop the testrun.authored.month & testrun.authored.year
- add testrun.authored.time
Frank Ch. Eigler [Mon, 20 Jun 2022 15:29:45 +0000 (11:29 -0400)]
TODO++ glibc
Frank Ch. Eigler [Sat, 18 Jun 2022 02:50:23 +0000 (22:50 -0400)]
g-dejagnu-cluster-entropy: don't produce info message if did no work
Frank Ch. Eigler [Fri, 17 Jun 2022 13:44:59 +0000 (09:44 -0400)]
g-dejagnu-cluster-entropy: skip calculation on singleton clusters entirely
Frank Ch. Eigler [Wed, 15 Jun 2022 23:19:53 +0000 (19:19 -0400)]
r-httpd-browse: tweak logging to add request-timing and x-forwarded-for
Frank Ch. Eigler [Wed, 15 Jun 2022 20:01:48 +0000 (16:01 -0400)]
r-httpd-browse: post merge typo fix
Frank Ch. Eigler [Wed, 15 Jun 2022 19:57:52 +0000 (15:57 -0400)]
r-show-testrun, r-httpd-browse: expose automake testdirs and individual test cases
paralleling dejagnu structures
Frank Ch. Eigler [Wed, 15 Jun 2022 19:56:56 +0000 (15:56 -0400)]
i-automake-parser: API BREAK: tweak view automake_testcase_v to add logfile column
Frank Ch. Eigler [Wed, 15 Jun 2022 18:36:25 +0000 (14:36 -0400)]
r-httpd-browse: add dejagnu expfile individual test reporting
(via expfile= querystring)
Frank Ch. Eigler [Wed, 15 Jun 2022 18:32:44 +0000 (14:32 -0400)]
r-show-testrun: support --dgexpfile to report individual dejagnu subtests
also: change file parameter to keyword/optional ("--file FOO")
rather than positional
Frank Ch. Eigler [Wed, 15 Jun 2022 17:33:18 +0000 (13:33 -0400)]
TODO: reformat, add a few
Frank Ch. Eigler [Tue, 14 Jun 2022 20:12:57 +0000 (16:12 -0400)]
r-show-testrun, r-httpd-browse: browse dejagnu & automake test summaries (results/counts)
Serhei Makarov [Tue, 14 Jun 2022 15:38:02 +0000 (11:38 -0400)]
r-httpd-browse icebreaker: report empty sets of things
A minor thing, but this was a factor in my confusion when I ran
r-httpd-browse on an old sqlite db with keyval authored_day
and got an empty query that was trying to sort on testrun.authored.day.
Serhei Makarov [Tue, 14 Jun 2022 15:27:00 +0000 (11:27 -0400)]
TODO: expand with serhei's concerns
Frank Ch. Eigler [Sat, 11 Jun 2022 17:08:49 +0000 (13:08 -0400)]
bunsen dejagnu parsing: tolerate misordered .log <-> .sum
As keiths & serhei have long ago discovered and we rediscovered now,
make -j check
type dejagnu runs can regularly scramble .sum / .log file segments so
they no longer parallel. One offender is gcc's
contrib/dg-extract-results.sh that assembles .log/.sum files from
parallel-executed pieces .... and proceeds to SORT rows within .sum
file .exp segments (only). Why? Why? WHYYYYYY?! y tho
That resulted in many logfile cursor = NULL results. Tweak
i-dejagnu-parser to tolerate this case better by pre-parsing segments
of the .exp file loglines. The logic here may break if some wacky
tool reorders the sequence of .exp files, but this has not been
observed.
Frank Ch. Eigler [Sat, 11 Jun 2022 17:08:30 +0000 (13:08 -0400)]
pipeline: progress message capitalization tweak
very important
Frank Ch. Eigler [Sat, 11 Jun 2022 09:51:13 +0000 (05:51 -0400)]
Revert "bunsen dejagnu parsing: tolerate misordered .log <-> .sum"
This reverts commit
88937cef4e9ced3cae2c794601caa32f82a26948 .
Famous last words: "In theory, this will be a rare thing."
Not rare, with severe cases occurring in the larger bunsendb corpus.
Let's try again later.
Frank Ch. Eigler [Sat, 11 Jun 2022 01:04:14 +0000 (21:04 -0400)]
bunsen dejagnu parsing: tolerate misordered .log <-> .sum
As keiths has long ago discovered and we rediscovered now,
make -j check
type dejagnu runs can regularly scramble .sum / .log file segments so
they no longer parallel. That resulted in many logfile cursor = NULL
results. Tweak i-dejagnu-parser to tolerate this case better by
willing to restart a search for a .log file snippet from the top of
the file.
Frank Ch. Eigler [Thu, 9 Jun 2022 21:07:57 +0000 (17:07 -0400)]
httpd: add linenumbers back in diffs view; properly render entire files when lacking focus line#
Frank Ch. Eigler [Thu, 9 Jun 2022 17:46:03 +0000 (13:46 -0400)]
httpd diff button label
Frank Ch. Eigler [Thu, 9 Jun 2022 17:26:26 +0000 (13:26 -0400)]
r-httpd-browse: add focus-line / linewindow logic to testrun logfile viewer
... and have the test-diff view point to particular .log / .sum line regions
Frank Ch. Eigler [Wed, 8 Jun 2022 23:07:23 +0000 (19:07 -0400)]
r-httpd-browse: add link from diff-testresult to particular log file
Frank Ch. Eigler [Wed, 8 Jun 2022 14:15:14 +0000 (10:15 -0400)]
httpd: html typo fix, default order desc
Frank Ch. Eigler [Wed, 8 Jun 2022 14:06:08 +0000 (10:06 -0400)]
todo++
Frank Ch. Eigler [Wed, 8 Jun 2022 01:54:49 +0000 (21:54 -0400)]
r-httpd-browse: upgrade the favicon.ico
Frank Ch. Eigler [Wed, 8 Jun 2022 00:59:31 +0000 (20:59 -0400)]
r-httpd-browse: add r-diff-testruns frontend
Frank Ch. Eigler [Tue, 7 Jun 2022 16:04:59 +0000 (12:04 -0400)]
r-httpd-browse: add some input field titles for popups
Frank Ch. Eigler [Tue, 7 Jun 2022 15:07:30 +0000 (11:07 -0400)]
formatting tweak asc/desc
Frank Ch. Eigler [Tue, 7 Jun 2022 15:04:01 +0000 (11:04 -0400)]
httpd format tweak
Frank Ch. Eigler [Tue, 7 Jun 2022 15:01:58 +0000 (11:01 -0400)]
r-find-testruns, r-httpd-browse: show user the sort / filter metadata too
usability improvement
Frank Ch. Eigler [Mon, 6 Jun 2022 16:39:17 +0000 (12:39 -0400)]
r-httpd-browse: drop unnecessary logging
Frank Ch. Eigler [Mon, 6 Jun 2022 16:24:35 +0000 (12:24 -0400)]
more python3.6
Frank Ch. Eigler [Mon, 6 Jun 2022 16:21:17 +0000 (12:21 -0400)]
r-httpd-browse: more python3.6 compat
Frank Ch. Eigler [Mon, 6 Jun 2022 16:12:22 +0000 (12:12 -0400)]
tools: open sqlite3 db always with uri=True
Frank Ch. Eigler [Mon, 6 Jun 2022 15:59:19 +0000 (11:59 -0400)]
r-httpd-browse: tweak exception reporting
Frank Ch. Eigler [Mon, 6 Jun 2022 15:53:23 +0000 (11:53 -0400)]
r-httpd-browse: python3.6 compat for format_exception()
Frank Ch. Eigler [Mon, 6 Jun 2022 15:25:57 +0000 (11:25 -0400)]
todo++
Frank Ch. Eigler [Mon, 6 Jun 2022 01:33:45 +0000 (21:33 -0400)]
README: point people at r-httpd-browse
Frank Ch. Eigler [Mon, 6 Jun 2022 00:53:47 +0000 (20:53 -0400)]
r-httpd-browse: allow http result caching
300 seconds for the filterable list-of-testruns
many seconds for testrun particulars
Frank Ch. Eigler [Mon, 6 Jun 2022 00:10:37 +0000 (20:10 -0400)]
pipeline: run a sqlite analyze command after global engines
This updates the index/stats to allow more efficient queries later.
Seems to make noticeable difference on some r-find-testruns queries.
Frank Ch. Eigler [Sun, 5 Jun 2022 23:28:07 +0000 (19:28 -0400)]
TODO so i don't forget
Frank Ch. Eigler [Sun, 5 Jun 2022 23:19:21 +0000 (19:19 -0400)]
r-httpd-browse: add testrun -> testruns link
Frank Ch. Eigler [Sun, 5 Jun 2022 23:15:06 +0000 (19:15 -0400)]
r-httpd-browse: show empty files too
previous jinja template rejected an empty file body as if a file was not selected at all
Frank Ch. Eigler [Sun, 5 Jun 2022 23:03:04 +0000 (19:03 -0400)]
r-httpd-browse: testrun view: drop list of files if looking at one file
Frank Ch. Eigler [Sun, 5 Jun 2022 20:13:51 +0000 (16:13 -0400)]
r-show-testrun: sort file names
Frank Ch. Eigler [Sun, 5 Jun 2022 20:08:17 +0000 (16:08 -0400)]
r-httpd-browse: add filter form at top of page, exposing r-find-testlogs parameters
also: fix a bug in r-find-testruns that generated broken sql for
--has-expfile-like FOO --has-trsfile-like BAR
Frank Ch. Eigler [Sun, 5 Jun 2022 20:07:58 +0000 (16:07 -0400)]
r-show-testrun: only list blobs not trees (directory names) in file list
Frank Ch. Eigler [Wed, 1 Jun 2022 19:17:25 +0000 (15:17 -0400)]
new tool: r-find-testruns
- add a predicate-filtering frontend for testrun searches
- add tests
- coincidentally (sorry), do some toolshedding cleanup on i-testrun-indexer
metadata extraction; add back testrun.git_describe for the nickname
Frank Ch. Eigler [Fri, 27 May 2022 01:10:27 +0000 (21:10 -0400)]
r-httpd-browse: don't close that which is not open
Frank Ch. Eigler [Fri, 27 May 2022 01:05:18 +0000 (21:05 -0400)]
add r-httpd-browse, first baby snapshot
flask based app, opens a http port for browsing sqlite/git data
defaults http://localhost:8003/
Frank Ch. Eigler [Fri, 27 May 2022 01:03:56 +0000 (21:03 -0400)]
tweak default output, make less chatty
Frank Ch. Eigler [Thu, 26 May 2022 18:33:22 +0000 (14:33 -0400)]
pipeline: sqlite db size report: %.2f is nicer
Frank Ch. Eigler [Tue, 24 May 2022 23:09:39 +0000 (19:09 -0400)]
pipeline: add database & git repo size report at shutdown
Serhei Makarov [Mon, 16 May 2022 14:19:36 +0000 (10:19 -0400)]
fixes for --refspec option
1. dead commits aren't in the repo, so there's no refspec to check.
2. excluded commits should be subtracted from len(new)
or else the global analysis will run even when nothing has changed.
Serhei Makarov [Mon, 16 May 2022 14:05:30 +0000 (10:05 -0400)]
add --refspec option to filter commits from an indexed repo
Adding --refspec="*testlogs*" will limit the processed commits from
the testlog git repo to those whose containing branch according to
'git describe --always --contains' includes 'testlogs'. This is needed
on my Bunsen setup where I already have a testlog repo being regularly
updated with branches 'testlogs' containing valid SystemTap testlogs
and 'testruns' containing JSON index data which this branch of Bunsen
doesn't need to process. This option saved around 3 hours on initial
build from my SystemTap data.
Frank Ch. Eigler [Wed, 11 May 2022 17:47:54 +0000 (13:47 -0400)]
configury: make automake maintainer-mode non-default
Frank Ch. Eigler [Wed, 11 May 2022 16:56:38 +0000 (12:56 -0400)]
README: add complete working example steps
Frank Ch. Eigler [Wed, 11 May 2022 16:41:08 +0000 (12:41 -0400)]
README: add simpler refspec based selective pulling
Frank Ch. Eigler [Wed, 11 May 2022 16:14:06 +0000 (12:14 -0400)]
add more recipes for inserting content into bunsen testrun repo
Frank Ch. Eigler [Wed, 11 May 2022 14:40:28 +0000 (10:40 -0400)]
r-diff-testruns: usability++
- accept --expfile-like parameter for expfile matching
- decorate textual output with logfile:line sumfile:line cursors
Frank Ch. Eigler [Wed, 11 May 2022 14:20:02 +0000 (10:20 -0400)]
reporters: always try resolving git commitish, improve error messages
Frank Ch. Eigler [Wed, 11 May 2022 13:38:02 +0000 (09:38 -0400)]
r-diff-testruns: also accept committish
Frank Ch. Eigler [Tue, 10 May 2022 00:17:28 +0000 (20:17 -0400)]
README: rely on default --db / --git in sample commands
Frank Ch. Eigler [Mon, 9 May 2022 18:37:18 +0000 (14:37 -0400)]
(copypasta nuke)
Frank Ch. Eigler [Fri, 6 May 2022 23:32:10 +0000 (19:32 -0400)]
all: add argparser formatter_class=argparse.ArgumentDefaultsHelpFormatter
Frank Ch. Eigler [Fri, 6 May 2022 23:20:39 +0000 (19:20 -0400)]
reporters: tweak output/ui
- make jinja templates auto-listing
- suppress an extra '\n' at end of reports
- add initial test for r-show-testrun
Frank Ch. Eigler [Fri, 6 May 2022 19:20:58 +0000 (15:20 -0400)]
r-* tools: suppress BrokenPipeError
Frank Ch. Eigler [Fri, 6 May 2022 17:43:19 +0000 (13:43 -0400)]
r-show-testrun: new reporting tool
Frank Ch. Eigler [Thu, 5 May 2022 20:12:22 +0000 (16:12 -0400)]
r-diff-testruns: grow json output template, support duplicate commit inputs
Frank Ch. Eigler [Thu, 5 May 2022 20:11:52 +0000 (16:11 -0400)]
pipeline: document python3-git iter_commits('--all') hack
Frank Ch. Eigler [Tue, 3 May 2022 13:43:47 +0000 (09:43 -0400)]
dejagnu parser: fix regexp-quoting for .sum "Summary" line parsing
Frank Ch. Eigler [Sat, 30 Apr 2022 16:10:21 +0000 (12:10 -0400)]
dejagnu testcase table: drop the "logcursor2" column
We can most likely infer this value at report time, and as it is, it's eating several percent
of the entire sqlite table.
Frank Ch. Eigler [Fri, 29 Apr 2022 22:34:29 +0000 (18:34 -0400)]
README: mention r-diff-testruns
Frank Ch. Eigler [Fri, 29 Apr 2022 22:32:22 +0000 (18:32 -0400)]
fix automake_testcase_v view; logfile != testdir
Frank Ch. Eigler [Fri, 29 Apr 2022 14:39:48 +0000 (10:39 -0400)]
tweak dejagnu metadata message - one per run not per .sum
Frank Ch. Eigler [Fri, 29 Apr 2022 14:36:20 +0000 (10:36 -0400)]
testrun_kv: ensure no duplication of keys in testrun metadata
while investigating a systemtap buildbot .sum misparse, found a bunch
of bad/dupe systemtap_version kv's.
Frank Ch. Eigler [Thu, 28 Apr 2022 23:09:19 +0000 (19:09 -0400)]
bunsenql: add beginnings of regression reporter
t-diff-testruns takes any number of testrun commit hashes, and prints
a jinja-formatted report of the different test cases.
Frank Ch. Eigler [Wed, 27 Apr 2022 23:26:39 +0000 (19:26 -0400)]
testlog-indexer: add an incremental vacuum pragma after deletions
Frank Ch. Eigler [Tue, 26 Apr 2022 21:50:00 +0000 (17:50 -0400)]
.gitignore builddir=sourcedir artifacts
Frank Ch. Eigler [Tue, 26 Apr 2022 20:08:13 +0000 (16:08 -0400)]
new: automake testsuite parser / summarizer
Frank Ch. Eigler [Tue, 26 Apr 2022 19:57:06 +0000 (15:57 -0400)]
dejagnu: add gdb compiler_info k/v extraction
Frank Ch. Eigler [Fri, 22 Apr 2022 14:46:32 +0000 (10:46 -0400)]
rhel8 compatibility
Frank Ch. Eigler [Thu, 21 Apr 2022 18:19:04 +0000 (14:19 -0400)]
configury: add python module presence checks
Frank Ch. Eigler [Thu, 21 Apr 2022 17:53:25 +0000 (13:53 -0400)]
add README
Frank Ch. Eigler [Thu, 21 Apr 2022 00:45:11 +0000 (20:45 -0400)]
bunsenql: add configury & testsuite baby steps
Frank Ch. Eigler [Thu, 21 Apr 2022 00:40:00 +0000 (20:40 -0400)]
i-dejagnu-parser: tweak keyword extraction
add some generic dejagnu sumfile patterns
extend testcase result types (incl. pseudo types PATH & WARNING)
fiendishly extract $tool_version from very end of normal sumfile
Frank Ch. Eigler [Tue, 19 Apr 2022 21:01:52 +0000 (17:01 -0400)]
toolshed: move all tools together into a bin/ directory
Frank Ch. Eigler [Tue, 19 Apr 2022 18:34:08 +0000 (14:34 -0400)]
dejagnu index: maintain a teensy cache for interned strings (intent: dejagnu result codes)
Frank Ch. Eigler [Tue, 19 Apr 2022 17:49:25 +0000 (13:49 -0400)]
dejagnu parse: drop unique ddl
While unique() assertions in the table ddl are good for data hygiene,
they also cost considerable storage. Since the pipeline manages
analysis engine lifecycles carefully and non-concurrently, we don't
really need them to assert desirable uniqueness properties in the
tables. Instead, some ".eqp on" inspired indexes can do the job
of accelerating queries, subject to easier further tuning.
Frank Ch. Eigler [Sun, 17 Apr 2022 23:38:17 +0000 (19:38 -0400)]
drop bunsen-testrun-repo.5, mostly dupes bunsen.7
Frank Ch. Eigler [Sun, 17 Apr 2022 23:07:40 +0000 (19:07 -0400)]
drop autoincrement from int-primary-key columns
sqlite already autoincrements them in the way we use them, and better
Frank Ch. Eigler [Sun, 17 Apr 2022 22:15:18 +0000 (18:15 -0400)]
sourceware email import: don't bother put subject into metadata, too unique
Frank Ch. Eigler [Sun, 17 Apr 2022 22:14:53 +0000 (18:14 -0400)]
provide periodic progress for g-testrun-clusterfinder
This page took 0.063671 seconds and 5 git commands to generate.