Kcidb logs#17
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.