spiegel_podman/hack/ci
rjgoyln ec30a4f7b7 hack/ci: fix the CI failure summary for non-int suites
The step summary posted when a CI job fails is useless for the bindings
suite: it carries a bare failure count and never the failure itself. Two
reasons stack up.

github_log_summary.py picks between the ginkgo and bats parsers by
looking for "int-" in the file name, but int is not the only ginkgo
suite - bindings runs ginkgo as well, so its log is handed to the bats
parser, which finds nothing beyond the count in ginkgo's summary line.
logformatter decides the layout from the log contents, so do the same
here.

That alone still leaves the summary empty. Only ginkgo run under -p
reports a failure on the line logformatter reads the test status from,
and `make testbindings` does not pass -p, so every test in a bindings log
heads 'log-passed' and the stack trace div is the sole mark of a failure.
Key on that div as well. Not on the class by itself: logformatter gives
it to error-level logrus lines too, which passing tests emit, but those
are spans.

Three more things the script got wrong along the way, all of them kept
out of sight by the "|| true" on the workflow step. The workflow passes
it a glob but only argv[1] was ever read, so any further log was dropped
without a word. A job that produces no html log at all leaves that glob
unexpanded, which ended in a traceback. And logformatter reads its input
through ':utf8', which validates nothing, so a test that wrote raw bytes
leaves behind a log that the summary could not even decode.

Signed-off-by: rjgoyln <pt40419@gmail.com>
2026-09-11 22:05:08 +08:00
..
ci.sh hack/ci: pass -r to limactl copy for directory copies 2026-08-09 14:19:24 +05:30
ci_yaml_test.py hack/ci/ci_yaml_test.py: add test for job timeouts 2026-07-17 18:06:25 +02:00
get-local-registry-script hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
gha_mac_cleanup.sh CI: Adjust Mac tmpdir 2026-06-01 13:24:35 -04:00
github_log_summary.py hack/ci: fix the CI failure summary for non-int suites 2026-09-11 22:05:08 +08:00
github_log_summary_test.py hack/ci: fix the CI failure summary for non-int suites 2026-09-11 22:05:08 +08:00
lib.sh re-enable logformatter and post failure summary 2026-07-29 14:49:23 +02:00
logcollector.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
logformatter re-enable logformatter and post failure summary 2026-07-29 14:49:23 +02:00
logformatter.t re-enable logformatter and post failure summary 2026-07-29 14:49:23 +02:00
make-and-check-size.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
pr-removes-fixed-skips hack/ci: let the fixed-skips check see issue numbers at end of line 2026-07-29 18:52:51 +05:30
pr-removes-fixed-skips.t hack/ci: let the fixed-skips check see issue numbers at end of line 2026-07-29 18:52:51 +05:30
pr-should-include-tests update "No New Tests" PR filter list 2026-06-16 14:13:52 +02:00
pr-should-include-tests.t Migrate validate-source from Cirrus to GitHub Actions 2026-06-01 13:01:33 +02:00
runner.sh Merge pull request #29301 from vtushar06/ci-desired-runtime-storage 2026-08-12 17:56:22 +02:00
template.lima.yml New GHA lima ci testing setup 2026-06-01 13:01:34 +02:00
timestamp.awk re-enable logformatter and post failure summary 2026-07-29 14:49:23 +02:00
win-lib.ps1 Rename contrib/cirrus to hack/ci 2026-06-01 13:01:33 +02:00