~canonical-kernel/+git/ksc-test-results:main

Last commit made on 2024-05-08
Get this branch:
git clone -b main https://git.launchpad.net/~canonical-kernel/+git/ksc-test-results
Members of Canonical Kernel can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

4320c1c... by Francis Ginther

t/compile-individual-job-results.py - Be more explicit on missing keys

When parsing results, raise an exception and point to the invalid file
when a required key is missing. For missing keys that are unused, it's
ok if they aren't present. Some flexibility is needed as we evolve the
type of jobs generated by CKCT and consume them in the reports.

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

a2d49d2... by Francis Ginther

s/rtr-lvl2.py - Display an error for kernels with no tests

We expect to generate some test jobs for every kernel sent to CKCT. In
the case that no test jobs are found, generate an error, but don't raise
an exception to allow for the other results to be compiled.

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

db2ebeb... by Francis Ginther

s/l/kernel-series.py Update to commit 0ff2f01e72

Update the kernel-series library to commit 0ff2f01e72 from kteam-tools.

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

97682dd... 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>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Francis Ginther <email address hidden>

4bd07a6... by Sean Feole

[compile-individual-job-results.py] Recalculate global values when merging suites

Followup to commit *a9e3b92, as multiple suites are merged into a single suite, the
suite total pass/skipped/hinted values must be re-calculated as these are used when
processing the ksc-reports json/html pages.

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

208ea56... by Sean Feole

[crontab script] Add cron-do-it-all.sh

This file was created on Sita to manage the logfile and execute
do-it-all.sh. Execute it via the bot user crontab.

The commit includes the script. The log portion has been omitted since
that should be managed via logrotate.d

Signed-off-by: Sean Feole <email address hidden>
Acked-by: Cory Todd <email address hidden>
Acked-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>