spiegel_podman/hack
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 hack/ci: fix the CI failure summary for non-int suites 2026-09-11 22:05:08 +08:00
perf hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
podman-registry-go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
apparmor_tag.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
bats hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
buildah-vendor-treadmill RUN-4538: Fix buildah vendoring 2026-04-21 14:27:58 -05:00
check_root.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
commit-subject-check.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
fork_exec_snoop.bt Add eBPF snooper that traces the entire fork/exec graph of podman 2023-04-20 11:30:47 +02:00
golangci-lint.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
install_golangci.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
libsubid_tag.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
man-page-checker hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
man-page-table-check Man pages: fix broken tables 2023-05-26 06:08:14 -06:00
markdown-preprocess fix(markdown-preprocess): preserve unknown tokens in render() 2026-05-05 03:27:34 -07:00
markdown-preprocess-review Man pages: refactor common options: cert-dir 2022-08-22 05:52:20 -06:00
markdown-preprocess.t fix(markdown-preprocess): preserve unknown tokens in render() 2026-05-05 03:27:34 -07:00
podman-commands.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
podman-registry hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
podman-socat hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
podman_cleanup_tracer.bt hack/podman_cleanup_tracer.bt: check map before deleting keys 2025-07-09 14:02:11 +02:00
podmansnoop chore(podmansnoop): explain why crun comm is 3 2024-08-09 10:57:59 +02:00
podmanv2-retry hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
sqlite_tag.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
swagger-check Add POST /libpod/quadlets 2025-12-17 14:37:12 +01:00
systemd_tag.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
tree_status.sh hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
xref-docker-options hack: format with shfmt -w 2026-06-09 11:55:16 -07:00
xref-helpmsgs-manpages Add --format to image scp 2026-03-19 17:42:33 +01:00
xref-helpmsgs-manpages.t xref-helpmsgs-manpages: cross-check Commands.rst 2024-03-18 09:09:25 -06:00
xref-quadlet-docs Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00