kubernetes/hack/make-rules
Patrick Ohly dbbb21469f verify: pick relevant lines from verify-golangci-lint.sh as failure message
When sh2ju.sh was called to generate the junit_verify.xml, it used to include
the entire output of a failed script twice: once as failure message, once as
log output.

This output can be large and often the actual failure isn't near the top, but
rather at the end or (in the case of the different golangci-lint invocations)
embedded in the log. This makes them hard to see at a glance when looking at
the Prow result page for a job.

Now a verify script can prefix relevant lines with "ERROR: " and then only
those lines are used as failure message in JUnit, without that prefix.

That string was chosen because Prow itself also then picks up those lines when
viewing the entire build log and it is unlikely that some script prints such
lines when they are not meant to be part of the failure.

If some script outputs no such lines, "see stderr for details" is used as
failure message. This is better than before because it avoids the redundancy.
2023-06-02 15:37:50 +02:00
..
build.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
clean.sh Update shellcheck version (0.7.2 -> 0.8.0) and fix findings 2022-11-08 11:53:57 +01:00
cross.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
make-help.sh avoid masking return values in hack/make-rules/make-help.sh 2022-10-19 23:46:18 -07:00
test-cmd.sh Lock ServerSideApply feature to true 2022-09-27 13:48:28 +02:00
test-e2e-node.sh stop using deprecated klog flags 2022-09-04 21:02:43 +02:00
test-integration.sh integration: remove special verbosity for garbagecollector and graph_builder 2023-05-24 10:02:53 +02:00
test.sh Update shellcheck version (0.7.1 -> 0.7.2) and fix findings 2022-11-01 23:10:44 +01:00
update.sh Merge pull request #115246 from thockin/codegen-11-swagger-from-update-codegen 2023-01-22 11:24:10 -08:00
verify.sh verify: pick relevant lines from verify-golangci-lint.sh as failure message 2023-06-02 15:37:50 +02:00
vet.sh staging: fix "go vet" issues 2023-03-03 07:51:04 +01:00