Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dvsim/sim_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def from_job_status(results: Sequence["CompletedJobStatus"]) -> "BucketedFailure

buckets[bucket].append(
JobFailureOverview(
name=job_status.full_name,
name=job_status.name,
seed=job_status.seed,
line=job_status.fail_msg.line_number,
log_context=job_status.fail_msg.context,
Expand Down
38 changes: 38 additions & 0 deletions src/dvsim/templates/reports/block_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{% set timestamp = results.timestamp %}
{% set stages = results.stages %}
{% set coverage = results.coverage %}
{% set failed_jobs = results.failed_jobs %}

<!doctype html>
<html lang="en">
Expand Down Expand Up @@ -223,6 +224,43 @@ <h2>Simulation Results: {{ block.name }}</h2>
</div>
</div>
</div>

<div class="row py-3">
<div class="col">
<h3>Error Messages</h3>
<table class="table table-sm table-hover">
<thead>
<tr>
<th>&nbsp;&nbsp;</th>
<th>Test</th>
<th>seed</th>
<th>line</th>
<th>log context</th>
</tr>
</thead>
<tbody>
{% for msg, job_list in failed_jobs.buckets.items() %}
<tr class="table-primary">
<td colspan=5>{{ msg }}</td>
</tr>
{% for job in job_list %}
<tr>
<th scope="row"></th>
<td>{{ job.name }}</td>
<td>{{ job.seed }}</td>
<td>{{ job.line }}</td>
<td>
{% for line in job.log_context %}
<div>{{ line }}</div>
{% endfor %}
</td>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
Expand Down
Loading