x/vuln/cmd/govulncheck: TestCommand failures with mismatched exit codes and no other output #52410
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
vulncheck or vulndb
Issues for the x/vuln or x/vulndb repo
Milestone
greplogs --dashboard -md -l -e 'FAIL: TestCommand/.*\n cmdtest\.go:.* failed with exit code \d+, but 3 was expected\nFAIL'
2022-04-16T11:17:39-506dc81-5e4543c/linux-mips64le-mengzhuo
2022-04-16T01:25:04-807ebe9-e704ef2/linux-amd64-wsl
2022-04-15T19:02:54-807ebe9-df08c9a/linux-mips64le-mengzhuo
The root cause of these failures is almost certainly due to problems with builder connectivity problems (#42971), but the error output from the test is not helpful in diagnosing it as such — it doesn't describe what actually went wrong with the invocation, and to me does not meet the Go standard for useful test failures.
It isn't clear to me whether this is due to the
govulncheck
command itself burying the errors, or due to the test itself (or thego-cmdtest
package it uses) unexpectedly swallowing thestderr
output in case of a mismatched exit code.(attn @jba @zpavlinovic @julieqiu)
The text was updated successfully, but these errors were encountered: