| commit | b433dbcde4db752d84d6fb24e480f739339c431a | [log] [tgz] |
|---|---|---|
| author | Ashwin Verleker <ashwinpv@google.com> | Mon Dec 23 21:38:26 2024 +0000 |
| committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Mon Dec 23 13:45:25 2024 -0800 |
| tree | 75751d2da2aeaed912aece2804bcb8f2e1afb138 | |
| parent | 5ddb56486c957533dc7955e765a2af3069a5a182 [diff] |
Update the overall db timeout for writing data from a single file during ingestion - This value is used in the processSingleFile function. - Internally that function invokes WriteTraces on sqlTraceStore. WriteTraces has configured the timeout to 15 minutes. - Since the parent context object has a lower timeout than the child context (in WriteTraces), the context was getting cancelled in a minute instead of 15 minutes as expected in WriteTraces. - This caused the WriteTraces function to timeout in a minute. This impacts writing of large files which is expected to take longer. - Updating the parent timeout to 15 minutes so that WriteTraces is not cancelled before the expected deadline. Change-Id: Ia44830d037cfc3afeafece175821b48385633c60 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/932616 Auto-Submit: Ashwin Verleker <ashwinpv@google.com> Commit-Queue: Ashwin Verleker <ashwinpv@google.com> Reviewed-by: Farid (Mojtaba) Faridzad <faridzad@google.com> Commit-Queue: Farid (Mojtaba) Faridzad <faridzad@google.com>
This repo contains infrastructure code for Skia.
The infrastructure code is generally built to run on x86 linux. Running on other platforms may be possible but is not officially supported and success will vary depending on the command.
The main source code repository is a Git repository hosted at https://skia.googlesource.com/buildbot.git. It is possible to check out this repository directly with git clone or via go get.
Using git clone allows you to work in whatever directory you want. You will still need to set GOPATH in order to build some apps (recommended to put this in a cache dir). E.g.:
$ cd ${WORKDIR}
$ git clone https://skia.googlesource.com/buildbot.git
$ export GOPATH=${HOME}/.cache/gopath/$(basename ${WORKDIR})
$ mkdir $GOPATH
$ cd buildbot
Almost all applications are built with Bazel, and bazelisk is the recommended tool to ensure you have the right version of bazel installed:
go install github.com/bazelbuild/bazelisk@latest go install github.com/bazelbuild/buildtools/buildifier@latest go install github.com/kisielk/errcheck@latest go install golang.org/x/tools/cmd/goimports@latest go install github.com/mikefarah/yq/v4@latest go install go.chromium.org/luci/client/cmd/...@latest
export PATH=$PATH:$(go env GOPATH)/bin
sudo apt-get install jq
bazelisk build --config=mayberemote //...
bazelisk test --config=mayberemote //...
To update generated code run the following in any directory:
go generate ./...
Install Cloud SDK.
Use this command to run the presubmit tests:
./run_unittests --small