]> sourceware.org Git - bunsen.git/log
bunsen.git
2 years agoR-show-testcases: initial version rendering the basic grid serhei/R-show-testcases
Serhei Makarov [Thu, 18 Aug 2022 21:05:30 +0000 (17:05 -0400)]
R-show-testcases: initial version rendering the basic grid

2 years agoWIP: grid is visible, need to fix CSS glitches
Serhei Makarov [Wed, 17 Aug 2022 17:04:57 +0000 (13:04 -0400)]
WIP: grid is visible, need to fix CSS glitches

2 years agoWIP: it's over 1000...
Serhei Makarov [Tue, 16 Aug 2022 21:07:36 +0000 (17:07 -0400)]
WIP: it's over 1000...

Definitely straining the limits of the 'we don't need a library' idea.

2 years agoWIP: benchmarking grid construction
Serhei Makarov [Tue, 9 Aug 2022 16:49:50 +0000 (12:49 -0400)]
WIP: benchmarking grid construction

With judicious use of the slice_testcases feature I can build
release-4.6..now in about 1:45 on my laptop. Previously I used
a beefy server with a big memory, so this could be interpreted
as an improvement.

2 years agoWIP: bugfixes, add 'slicing' performance tradeoff
Serhei Makarov [Mon, 8 Aug 2022 16:04:22 +0000 (12:04 -0400)]
WIP: bugfixes, add 'slicing' performance tradeoff

Since results are generated in alphabetical order of testcase,
the code doesn't strictly need to load *all* the testcase data
into memory at once. This was a performance issue with the
prototype branch version of this script.

This slows down report generation but allows it to be done on smaller
systems with memory constraints. Such as my laptop.

2 years agoWIP early code: cache redundant Git lookups
Serhei Makarov [Tue, 2 Aug 2022 18:36:17 +0000 (14:36 -0400)]
WIP early code: cache redundant Git lookups

Not caching the redundant git lookups for just a couple of refspecs
absolutely destroyed performance for building the version history.
Conversely, caching them un-destroys performance.

2 years agoWIP early code: R-show-testcases git commit history
Serhei Makarov [Fri, 29 Jul 2022 19:41:58 +0000 (15:41 -0400)]
WIP early code: R-show-testcases git commit history

A portion of the version index (the part covered by index_versions()
could be cached in the db); the rest is parametrized.

Still fairly slow. Could solve by unifying the sql queries in
Testrun+get_all_testruns into

select tr.id, tr.gitcommit, tr.key, tr.value
from testrun_kv tkv, testrun tr
where tr.id = tkv.tr

and sorting through the resulting big table.

2 years agoWIP early code: R-show-testcases matching +show-testcases from the old branch
Serhei Makarov [Mon, 25 Jul 2022 18:57:55 +0000 (14:57 -0400)]
WIP early code: R-show-testcases matching +show-testcases from the old branch

For the time being, I'm mired in implementing the various version-range
selection options that came out of mcermak's use of +show_testcases.
Since the goal of this port is to ditch the current main branch
of Bunsen and promote fche/bunsenql to the new main branch prior
to Cauldron, this work isn't really skippable anyways.

The lack of library facilities is annoying but progress is ongoing.
Pushing 'pastebin' quality early code is also annoying but some
visibility is needed into this work by other people.

2 years agoconfigury: look for jq tool (for tests)
Frank Ch. Eigler [Fri, 22 Jul 2022 16:39:03 +0000 (12:39 -0400)]
configury: look for jq tool (for tests)

- regen with f36 autotools

2 years agog-testrun-clusterfinder: drop periodic timing messages
Frank Ch. Eigler [Tue, 19 Jul 2022 13:55:52 +0000 (09:55 -0400)]
g-testrun-clusterfinder: drop periodic timing messages

this part is nearly instant anyway

2 years agog-testrun-clusterfinder: admit defeat against sqlite foreign keys
Frank Ch. Eigler [Tue, 19 Jul 2022 13:47:52 +0000 (09:47 -0400)]
g-testrun-clusterfinder: admit defeat against sqlite foreign keys

The testrun_cluster rows form a doubly linked list via the next/prev columns.
During a mass delete, this means O(N^2) or worse processing time.  Drop the
foreign key designations and do a more blunt mass delete at the beginning of
the --redo/--update operation.  Preexisting bunsen databases should drop
the testrun_cluster table (one time) to migrate.

2 years agor-httpd-browse: autoconf detail browser: switch to loglink on left as dejagnu
Frank Ch. Eigler [Sat, 16 Jul 2022 00:43:33 +0000 (20:43 -0400)]
r-httpd-browse: autoconf detail browser: switch to loglink on left as dejagnu

2 years agor-httpd-browse: dejagnu details view: flip log/sum columns to left
Frank Ch. Eigler [Fri, 15 Jul 2022 22:58:45 +0000 (18:58 -0400)]
r-httpd-browse: dejagnu details view: flip log/sum columns to left

2 years agor-httpd-browse: spell out that diffs only account for dejagnu diffs right now
Frank Ch. Eigler [Fri, 15 Jul 2022 22:13:33 +0000 (18:13 -0400)]
r-httpd-browse: spell out that diffs only account for dejagnu diffs right now

2 years agor-httpd-browse: ditto for dgsummary view
Frank Ch. Eigler [Fri, 15 Jul 2022 20:37:07 +0000 (16:37 -0400)]
r-httpd-browse: ditto for dgsummary view

2 years agor-httpd-browse: for testrun dgexpfile focus, abbreviate log/sum anchor names
Frank Ch. Eigler [Fri, 15 Jul 2022 20:32:27 +0000 (16:32 -0400)]
r-httpd-browse: for testrun dgexpfile focus, abbreviate log/sum anchor names

2 years agor-show-testrun: more verbosity, tweak autoconflog query
Frank Ch. Eigler [Fri, 15 Jul 2022 16:05:56 +0000 (12:05 -0400)]
r-show-testrun: more verbosity, tweak autoconflog query

more inter-query logging.debug() allows identification of unusually slow queries

2 years agoi-autoconflog-parser: add an index
Frank Ch. Eigler [Fri, 15 Jul 2022 16:04:28 +0000 (12:04 -0400)]
i-autoconflog-parser: add an index

r-show-testrun was hobbled by the lack of an index on one popular
column in our tables; turns 4s queries into 0.2s ones

2 years agoTODO++
Frank Ch. Eigler [Fri, 15 Jul 2022 16:03:05 +0000 (12:03 -0400)]
TODO++

2 years agor-show-testrun: use testrun_cluster .next and .prev columns analogously
Frank Ch. Eigler [Fri, 15 Jul 2022 01:50:53 +0000 (21:50 -0400)]
r-show-testrun: use testrun_cluster .next and .prev columns analogously

previous sql code kinda forgot we had both, whoops

2 years agor-show-testrun: rework adjacent cluster member listings to restore [testrun]s, but...
Frank Ch. Eigler [Fri, 15 Jul 2022 01:39:17 +0000 (21:39 -0400)]
r-show-testrun: rework adjacent cluster member listings to restore [testrun]s, but efficiently

2 years agoTODO++
Frank Ch. Eigler [Fri, 15 Jul 2022 00:55:00 +0000 (20:55 -0400)]
TODO++

2 years agor-show-testrun: sort cluster keywords just at last moment, once
Frank Ch. Eigler [Fri, 15 Jul 2022 00:38:23 +0000 (20:38 -0400)]
r-show-testrun: sort cluster keywords just at last moment, once

2 years agor-show-testrun: accelerate cluster traversal
Frank Ch. Eigler [Fri, 15 Jul 2022 00:28:19 +0000 (20:28 -0400)]
r-show-testrun: accelerate cluster traversal

There was a completely unnecessary O(n^3)ish operation while
accumulating cluster keyword names.

2 years agor-httpd-browse: testrun view revamp
Frank Ch. Eigler [Tue, 12 Jul 2022 16:15:54 +0000 (12:15 -0400)]
r-httpd-browse: testrun view revamp

- add "focus" selection "tab" on top
- add support for glibc, autoconf testsuite summaries and testcase listings

2 years agor-show-testrun: drop dupe PASS column for glibc summaries
Frank Ch. Eigler [Tue, 12 Jul 2022 16:15:14 +0000 (12:15 -0400)]
r-show-testrun: drop dupe PASS column for glibc summaries

2 years agor-show-testrun: add autoconflog viewing
Frank Ch. Eigler [Mon, 11 Jul 2022 15:21:23 +0000 (11:21 -0400)]
r-show-testrun: add autoconflog viewing

2 years agoglibc analysis++
Frank Ch. Eigler [Fri, 8 Jul 2022 21:26:54 +0000 (17:26 -0400)]
glibc analysis++

- add i-glibc-summarizer pass
- teach r-show-testrun to display glibc data
- fix i-glibc-parser not to produce numerous empty glibc_testsuite records

2 years agoi-autoconflog-parser: new engine to parse autoconf config.log files
Frank Ch. Eigler [Thu, 7 Jul 2022 16:47:16 +0000 (12:47 -0400)]
i-autoconflog-parser: new engine to parse autoconf config.log files

2 years agoi-glibc-parser: parse glibc .test-result / .out testruns
Frank Ch. Eigler [Wed, 6 Jul 2022 22:27:30 +0000 (18:27 -0400)]
i-glibc-parser: parse glibc .test-result / .out testruns

- also: add result column foreign-keyness to other -parser for completeness

2 years agodejagnu parser: don't leave blank testsuite records for non-dejagnu .sum files
Frank Ch. Eigler [Tue, 5 Jul 2022 15:32:51 +0000 (11:32 -0400)]
dejagnu parser: don't leave blank testsuite records for non-dejagnu .sum files

2 years agobunsenql: Add r-dejagnu-summary
Keith Seitz [Thu, 30 Jun 2022 16:19:58 +0000 (12:19 -0400)]
bunsenql: Add r-dejagnu-summary

This patch adds a bunsenql equivalent of my previous "bunsen +summarize"
script. This can be used to output DejaGNU-like summaries for tests.

This script supports limiting tests based on glob expression (although
it does not support multiple glob expressions like +summarize) and
"verbose" output which will output all (sub)test results. It supports both
text and JSON output templates.

The script does not use any of the pipeline-created summaries. It computes
results directly from the data. This is useful to verify that results were
properly imported and could be used to compare against the DejaGNU
.sum file's summary section.

2 years agopipeline: disable entropy calc yet again
Frank Ch. Eigler [Wed, 29 Jun 2022 14:45:32 +0000 (14:45 +0000)]
pipeline: disable entropy calc yet again

- cluster#'s can't be both transient (nuked by *clusterfinder) and permanent (used as *entropy keys)

2 years agog-dejagnu-cluster-entropy: upsert syntax for rhel8 sqlite3
Frank Ch. Eigler [Tue, 28 Jun 2022 22:35:55 +0000 (22:35 +0000)]
g-dejagnu-cluster-entropy: upsert syntax for rhel8 sqlite3

3.24+ postgresql-style "upsert" requires a (...) bit no longer needed on newer sqlite3

2 years agog-dejagnu-cluster-entropy: only optimize & comment on update/redo mode only
Frank Ch. Eigler [Tue, 28 Jun 2022 20:46:45 +0000 (16:46 -0400)]
g-dejagnu-cluster-entropy: only optimize & comment on update/redo mode only

2 years agog-dejagnu-cluster-entropy rework
Frank Ch. Eigler [Tue, 28 Jun 2022 20:15:08 +0000 (16:15 -0400)]
g-dejagnu-cluster-entropy rework

Change logic so that freshness is tracked in a separate new table.
This allows full caching even if no cluster/expfile data would be
computed (due to no expfiles in a particular cluster, e.g.), and
happens to reduce storage requirements too from the previous v2.
The previous entropy payload schema is restored.

2 years agopipeline: disable entropy calculation again
Frank Ch. Eigler [Thu, 23 Jun 2022 23:12:02 +0000 (19:12 -0400)]
pipeline: disable entropy calculation again

On rhel8's old sqlite 3.26, a pretty pessimal query evaluation
strategy is chosen to run the inner query, and it slows things down by
orders of magnitude compared to f35's sqlite 3.36.  Disable again
awhile.

2 years agoomnibus g-engine changes
Frank Ch. Eigler [Thu, 23 Jun 2022 22:21:17 +0000 (18:21 -0400)]
omnibus g-engine changes

- add "--update" option to g-* engines to refresh rather than start over, if possible
- pipeline uses --update for them
- pipeline process exits with rc != 0 in case of engine/etc. errors
- g-dejagnu-cluster-entropy: API BREAK table schema change, add a cluster membership-hash
  to output table, to know if elements need to be recomputed (if clusterfinder changed
  members); saves 85% time for incremental work situations; this engine could also become
  hypothetically i-* series, being given the new testrun hashes only to focus on, except
  that it consumes the clusterfinder's output

2 years agor-httpd-browse: move favicon.ico under /testruns/ URL prefix
Frank Ch. Eigler [Thu, 23 Jun 2022 14:25:07 +0000 (14:25 +0000)]
r-httpd-browse: move favicon.ico under /testruns/ URL prefix

2 years agotemporarily disable entropy calculation to fix scaling offline
Frank Ch. Eigler [Thu, 23 Jun 2022 11:56:49 +0000 (11:56 +0000)]
temporarily disable entropy calculation to fix scaling offline

2 years agor-httpd-browse: tighten up cell rendering of testrun-diffs
Frank Ch. Eigler [Wed, 22 Jun 2022 01:31:55 +0000 (21:31 -0400)]
r-httpd-browse: tighten up cell rendering of testrun-diffs

2 years agor-httpd-browse: add "show all testruns" button on /testruns main page to clear search...
Frank Ch. Eigler [Tue, 21 Jun 2022 17:08:38 +0000 (13:08 -0400)]
r-httpd-browse: add "show all testruns" button on /testruns main page to clear search filters

2 years agor-httpd-browse: add popup title for cluster navigation links
Frank Ch. Eigler [Tue, 21 Jun 2022 16:38:41 +0000 (12:38 -0400)]
r-httpd-browse: add popup title for cluster navigation links

2 years agor-httpd-browse: up default --max-diffs to 10 as some sensible queries want 6-9
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

2 years agor-httpd-browse: usability tweaks
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

2 years agor-httpd-browse: tolerate accidentally empty commitish= textbox at top of testruns...
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

2 years agor-httpd-browse: add cluster navigation to testrun view
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.

2 years agor-show-testrun: add cluster navigation data to json output
Frank Ch. Eigler [Mon, 20 Jun 2022 23:42:39 +0000 (19:42 -0400)]
r-show-testrun: add cluster navigation data to json output

2 years agor-find-testruns: switch to testrun.authored.time default ordering
Frank Ch. Eigler [Mon, 20 Jun 2022 23:42:08 +0000 (19:42 -0400)]
r-find-testruns: switch to testrun.authored.time default ordering

2 years agoi-testrun-indexer: tweak default keywords
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

2 years agoTODO++ glibc
Frank Ch. Eigler [Mon, 20 Jun 2022 15:29:45 +0000 (11:29 -0400)]
TODO++ glibc

2 years agog-dejagnu-cluster-entropy: don't produce info message if did no work
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

2 years agog-dejagnu-cluster-entropy: skip calculation on singleton clusters entirely
Frank Ch. Eigler [Fri, 17 Jun 2022 13:44:59 +0000 (09:44 -0400)]
g-dejagnu-cluster-entropy: skip calculation on singleton clusters entirely

2 years agor-httpd-browse: tweak logging to add request-timing and x-forwarded-for
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

2 years agor-httpd-browse: post merge typo fix
Frank Ch. Eigler [Wed, 15 Jun 2022 20:01:48 +0000 (16:01 -0400)]
r-httpd-browse: post merge typo fix

2 years agor-show-testrun, r-httpd-browse: expose automake testdirs and individual test cases
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

2 years agoi-automake-parser: API BREAK: tweak view automake_testcase_v to add logfile column
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

2 years agor-httpd-browse: add dejagnu expfile individual test reporting
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)

2 years agor-show-testrun: support --dgexpfile to report individual dejagnu subtests
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

2 years agoTODO: reformat, add a few
Frank Ch. Eigler [Wed, 15 Jun 2022 17:33:18 +0000 (13:33 -0400)]
TODO: reformat, add a few

2 years agor-show-testrun, r-httpd-browse: browse dejagnu & automake test summaries (results...
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)

2 years agor-httpd-browse icebreaker: report empty sets of things
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.

2 years agoTODO: expand with serhei's concerns
Serhei Makarov [Tue, 14 Jun 2022 15:27:00 +0000 (11:27 -0400)]
TODO: expand with serhei's concerns

2 years agobunsen dejagnu parsing: tolerate misordered .log <-> .sum
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.

2 years agopipeline: progress message capitalization tweak
Frank Ch. Eigler [Sat, 11 Jun 2022 17:08:30 +0000 (13:08 -0400)]
pipeline: progress message capitalization tweak

very important

2 years agoRevert "bunsen dejagnu parsing: tolerate misordered .log <-> .sum"
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.

2 years agobunsen dejagnu parsing: tolerate misordered .log <-> .sum
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.

2 years agohttpd: add linenumbers back in diffs view; properly render entire files when lacking...
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#

2 years agohttpd diff button label
Frank Ch. Eigler [Thu, 9 Jun 2022 17:46:03 +0000 (13:46 -0400)]
httpd diff button label

2 years agor-httpd-browse: add focus-line / linewindow logic to testrun logfile viewer
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

2 years agor-httpd-browse: add link from diff-testresult to particular log file
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

2 years agohttpd: html typo fix, default order desc
Frank Ch. Eigler [Wed, 8 Jun 2022 14:15:14 +0000 (10:15 -0400)]
httpd: html typo fix, default order desc

2 years agotodo++
Frank Ch. Eigler [Wed, 8 Jun 2022 14:06:08 +0000 (10:06 -0400)]
todo++

2 years agor-httpd-browse: upgrade the favicon.ico
Frank Ch. Eigler [Wed, 8 Jun 2022 01:54:49 +0000 (21:54 -0400)]
r-httpd-browse: upgrade the favicon.ico

2 years agor-httpd-browse: add r-diff-testruns frontend
Frank Ch. Eigler [Wed, 8 Jun 2022 00:59:31 +0000 (20:59 -0400)]
r-httpd-browse: add r-diff-testruns frontend

2 years agor-httpd-browse: add some input field titles for popups
Frank Ch. Eigler [Tue, 7 Jun 2022 16:04:59 +0000 (12:04 -0400)]
r-httpd-browse: add some input field titles for popups

2 years agoformatting tweak asc/desc
Frank Ch. Eigler [Tue, 7 Jun 2022 15:07:30 +0000 (11:07 -0400)]
formatting tweak asc/desc

2 years agohttpd format tweak
Frank Ch. Eigler [Tue, 7 Jun 2022 15:04:01 +0000 (11:04 -0400)]
httpd format tweak

2 years agor-find-testruns, r-httpd-browse: show user the sort / filter metadata too
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

2 years agor-httpd-browse: drop unnecessary logging
Frank Ch. Eigler [Mon, 6 Jun 2022 16:39:17 +0000 (12:39 -0400)]
r-httpd-browse: drop unnecessary logging

2 years agomore python3.6
Frank Ch. Eigler [Mon, 6 Jun 2022 16:24:35 +0000 (12:24 -0400)]
more python3.6

2 years agor-httpd-browse: more python3.6 compat
Frank Ch. Eigler [Mon, 6 Jun 2022 16:21:17 +0000 (12:21 -0400)]
r-httpd-browse: more python3.6 compat

2 years agotools: open sqlite3 db always with uri=True
Frank Ch. Eigler [Mon, 6 Jun 2022 16:12:22 +0000 (12:12 -0400)]
tools: open sqlite3 db always with uri=True

2 years agor-httpd-browse: tweak exception reporting
Frank Ch. Eigler [Mon, 6 Jun 2022 15:59:19 +0000 (11:59 -0400)]
r-httpd-browse: tweak exception reporting

2 years agor-httpd-browse: python3.6 compat for format_exception()
Frank Ch. Eigler [Mon, 6 Jun 2022 15:53:23 +0000 (11:53 -0400)]
r-httpd-browse: python3.6 compat for format_exception()

2 years agotodo++
Frank Ch. Eigler [Mon, 6 Jun 2022 15:25:57 +0000 (11:25 -0400)]
todo++

2 years agoREADME: point people at r-httpd-browse
Frank Ch. Eigler [Mon, 6 Jun 2022 01:33:45 +0000 (21:33 -0400)]
README: point people at r-httpd-browse

2 years agor-httpd-browse: allow http result caching
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

2 years agopipeline: run a sqlite analyze command after global engines
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.

2 years agoTODO so i don't forget
Frank Ch. Eigler [Sun, 5 Jun 2022 23:28:07 +0000 (19:28 -0400)]
TODO so i don't forget

2 years agor-httpd-browse: add testrun -> testruns link
Frank Ch. Eigler [Sun, 5 Jun 2022 23:19:21 +0000 (19:19 -0400)]
r-httpd-browse: add testrun -> testruns link

2 years agor-httpd-browse: show empty files too
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

2 years agor-httpd-browse: testrun view: drop list of files if looking at one file
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

2 years agor-show-testrun: sort file names
Frank Ch. Eigler [Sun, 5 Jun 2022 20:13:51 +0000 (16:13 -0400)]
r-show-testrun: sort file names

2 years agor-httpd-browse: add filter form at top of page, exposing r-find-testlogs parameters
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

2 years agor-show-testrun: only list blobs not trees (directory names) in file list
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

2 years agonew tool: r-find-testruns
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

2 years agor-httpd-browse: don't close that which is not open
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

2 years agoadd r-httpd-browse, first baby snapshot
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/

2 years agotweak default output, make less chatty
Frank Ch. Eigler [Fri, 27 May 2022 01:03:56 +0000 (21:03 -0400)]
tweak default output, make less chatty

This page took 0.561415 seconds and 5 git commands to generate.