Fixed
Status Update
Comments
gm...@google.com <gm...@google.com>
ap...@google.com <ap...@google.com> #2
Project: fuchsia
Branch: main
commit 81f89fe2f8e39e56a8d09a3cf98ad52dc8a4220c
Author: Gwen Mittertreiner <gmtr@google.com>
Date: Wed Mar 06 16:36:35 2024
[trace_importer] Recover from Badly Nested Durations
Durations are expected to nest nicely, but sometimes traces can have
incorrectly nested durations. While the trace is corrupted here, the
rest of the trace is likely still fine so, we should attempt some form
of recovery.
Fixed: 328124336
Change-Id: I87ac0a66377a91436af2214ff4c22eef0abb6ac3
Reviewed-on:https://fuchsia-review.googlesource.com/c/fuchsia/+/1001403
Reviewed-by: Krithika Balan <krithikabalan@google.com>
Commit-Queue: Gwen Mittertreiner <gmtr@google.com>
M src/performance/lib/trace_processing/tests/data/model.json
M src/performance/lib/trace_processing/tests/trace_importing_test.py
M src/performance/lib/trace_processing/trace_importing.py
https://fuchsia-review.googlesource.com/1001403
Branch: main
commit 81f89fe2f8e39e56a8d09a3cf98ad52dc8a4220c
Author: Gwen Mittertreiner <gmtr@google.com>
Date: Wed Mar 06 16:36:35 2024
[trace_importer] Recover from Badly Nested Durations
Durations are expected to nest nicely, but sometimes traces can have
incorrectly nested durations. While the trace is corrupted here, the
rest of the trace is likely still fine so, we should attempt some form
of recovery.
Fixed: 328124336
Change-Id: I87ac0a66377a91436af2214ff4c22eef0abb6ac3
Reviewed-on:
Reviewed-by: Krithika Balan <krithikabalan@google.com>
Commit-Queue: Gwen Mittertreiner <gmtr@google.com>
M src/performance/lib/trace_processing/tests/data/model.json
M src/performance/lib/trace_processing/tests/trace_importing_test.py
M src/performance/lib/trace_processing/trace_importing.py
Description
trace_importer.py can assert with the below error. Likely the durations are incorrectly nested. We should add better recovery support for when then happens since dropping a Duration Begin event should be allowed.