commit | edafe86a5717887b96bb1dd4e79d484b91140549 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Tue May 07 17:10:09 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 07 17:10:09 2024 |
tree | c4ed707ba86dde24b4c33957d742f960cc743585 | |
parent | 674f2681ba73e5a62bdf5ae22623992dd95e7e1a [diff] |
[swarming] Ignore STREAM_ALREADY_COMMITTED error. It appears (based on logs on chrome-swarming) that GetWriteStream is "eventually consistent", i.e. it may indicate the stream is pending even after BatchCommitWriteStreams has successfully finished (even if all calls happen serially, no race conditions). When this happens and we try to commit the stream, we get back STREAM_ALREADY_COMMITTED error, which marks the TQ task as fatally failed (which is technically fine, but noisy). Ignore this error. It indicates the retry wasn't needed and everything is OK already. R=chanli@chromium.org Change-Id: I5e147d9b287dbfcccfa88340c70de114b832c584 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/5520046 Reviewed-by: JB Tamas-Leloup <jtamasleloup@google.com> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.