![]() 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. |
||
---|---|---|
.. | ||
build.sh | ||
clean.sh | ||
cross.sh | ||
make-help.sh | ||
test-cmd.sh | ||
test-e2e-node.sh | ||
test-integration.sh | ||
test.sh | ||
update.sh | ||
verify.sh | ||
vet.sh |