Skip to content

Kcidb logs#17

Merged
nuclearcat merged 3 commits into
mainfrom
kcidb-logs
May 22, 2026
Merged

Kcidb logs#17
nuclearcat merged 3 commits into
mainfrom
kcidb-logs

Conversation

@nuclearcat
Copy link
Copy Markdown
Member

No description provided.

…ad to s3 bucket

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
The poller used to submit one aggregated tests[*] row per test name
with log_url=None. Now it emits one row per VM instance, joins each
row with the boot-log URL collected in artifacts.json, and gives
each row a stable test_id (instance_id) instead of a positional one.

Also fixes a latent bug in parse_vm_logs: it globbed vms/*.log and
so picked up <id>-console.log files written by collect_run_artifacts.
Those don't carry the SUCCESS marker, so without this fix every boot
log was counted as a failed VM and total_vms was doubled.

Behaviour summary:
  * pipeline.parse_vm_logs() skips *-console.log; reports a new
    per-instance `instances` list ({test, instance_id, status}).
  * pipeline.create_summary() exposes that as summary[vms][instances].
  * pull_labs_poller._load_artifact_log_urls() indexes artifacts.json
    by (test, instance_id) — missing/corrupt manifest is non-fatal.
  * pull_labs_poller._extract_test_results() emits one row per VM
    with per-row log_url; legacy per-test fallback retained.
  * pull_labs_poller._handle_job(): test_id is now {node_id}.{iid};
    misc carries instance_id for traceability.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
@nuclearcat nuclearcat merged commit db04535 into main May 22, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant