~fginther/+git/ksc-test-results:fginther/local-serial-log

Last commit made on 2023-09-14
Get this branch:
git clone -b fginther/local-serial-log https://git.launchpad.net/~fginther/+git/ksc-test-results
Only Francis Ginther can upload to this branch. If you are Francis Ginther please log in for upload directions.

Branch merges

Branch information

Name:
fginther/local-serial-log
Repository:
lp:~fginther/+git/ksc-test-results

Recent commits

afa198a... by Francis Ginther

rtr-log.py: Archive the serial log to the web directory

The "Serial Console Log" links to the latest version in the jenkins
workspace. This always links to the most recent job run, so older
results will point to the wront log. The serial console log is included
in the archived results that are rsynced from jenkins, so we can use
this instead. Specifically:
 * Copy the serial console log from imported/ to web/.
 * Link to the local console log if it exists, otherwise still provide a
   link to where the log would exist in the jenkins workspace.

Signed-off-by: Francis Ginther <email address hidden>

c91cae3... by Francis Ginther

[ckct-on-demand] Fix assignment of cbd handle

A local variable change was missed while merging in the ckct-on-demand
branch and an assignment was being made to a non-existant dictionary.
Fix this by using the new shortend variable.

Signed-off-by: Francis Ginther <email address hidden>
Acked-by: Cory Todd <email address hidden>
Acked-by: Sean Feole <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>

2c5551c... by Cory Todd

ksc: fix import path

Symlink the ksc lib into test-results so we don't have to mangle the
python path.

Signed-off-by: Cory Todd <email address hidden>
Acked-by: Sean Feole <email address hidden>

a8c1fc2... by Cory Todd

summarize-results: handle malformed results

It is possible for package-version-results.json to be malformed. We
don't have strong validation on this file so be defensive. The problem
manifests because the recursive default dict returns itself which is by
definition unhashable.

Signed-off-by: Cory Todd <email address hidden>

f98ec9c... by Cory Todd

lib:kernel-series -- update from latest kteam-tools

Update to the latest version of kernel-series. We also need to remove
the isort pre-commit hook because it is broken and the author will not
backport the fix to Python <3.10.

Signed-off-by: Cory Todd <email address hidden>

eca13ce... by Francis Ginther

[ckct-on-demand] Add support for cbd / ci test reports

Adds support for the unofficial `t` sru cycles used to designated ci
testing via cbd. Add support for displaying results from cbd runs
including showing the cbd job id.

Signed-off-by: Francis Ginther <email address hidden>

8b8dabe... by Francis Ginther

find-latest-cycles.py: Add support for the `s` sru cycle

SWM now generates sru sycles starting with `s` to designate a security
respin cycle.

Signed-off-by: Francis Ginther <email address hidden>

531b0f5... by Cory Todd

summarize-results: explain how report is printed to console

Explain the purpose of and method used to generate pretty summary
reports on stdout. The key feature is that we're using a StringIO to
efficiently collect characters for each row in the report. We then
inspect the buffer at key points to determine how to align key columns.

Signed-off-by: Cory Todd <email address hidden>
Acked-by: Francis Ginther <email address hidden>

465641d... by Cory Todd

summarize-results: collapse dictionary access

Iterate over dictionary values instead of rebuilding the lookup patch on
each loop iteration in cloud_summary_status.

Signed-off-by: Cory Todd <email address hidden>
Acked-by: Francis Ginther <email address hidden>

8cdcdf5... by Cory Todd

summarize-results: update example docstring

Signed-off-by: Cory Todd <email address hidden>
Acked-by: Francis Ginther <email address hidden>