Skip to content

Commit

Permalink
stable-rc: improve boot failures formatting
Browse files Browse the repository at this point in the history
Improve formatting and avoid repetition of same
platform name for specific architecture for boot
failures.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and spbnick committed Aug 9, 2024
1 parent 31813ad commit c0c9d31
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions kcidb/templates/stable_rc_test.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@
selectattr('build.architecture', 'ne', None) | list %}
{% if boot_tests_info %}
{% for architecture, tests in boot_tests_info|groupby("build.architecture") %}
{{- " " + architecture }}:({{ tests|map(attribute="build.config_name") | unique | join("") }})
{% for test in tests %}
{{- " -" + test.environment_misc.platform }}
{% endfor %}
{{- "\n " + architecture }}:({{ tests|map(attribute="build.config_name") | unique | reject("none") | join("") }})
{{- "\n -" + tests|map(attribute="environment_misc.platform") | unique | join("\n -") }}
{% endfor %}
{{- " CI system: " + origin + "\n" }}
{{- " CI system: " + origin}}
{% else %}
{{- "\n Missing failure information. Sorry, we are working on improving report for this situation." }}
{{- "\n CI system: " + origin + "\n" }}
{{- "\n CI system: " + origin}}
{% endif %}
{% endfor %}
{% else %}
Expand Down

0 comments on commit c0c9d31

Please sign in to comment.