Commit Graph

24 Commits

Author SHA1 Message Date
Adin Scannell 5d8054e75a Remove Go cache on failure.
It's unclear why permissions wind up corrupted, but these can be cleared
on any failure, similar to the bazel cache itself:
  https://buildkite.com/gvisor/pipeline/builds/2304#_

PiperOrigin-RevId: 355057421
2021-02-01 17:00:58 -08:00
Zach Koopmans 3d9f88894e Adjust benchtime for failing redis benchmarks.
PiperOrigin-RevId: 353702265
2021-01-25 12:18:21 -08:00
Adin Scannell 48dfb8db9e Add image presubmit tests and mark fsstress x86_64 only.
PiperOrigin-RevId: 353118942
2021-01-21 15:53:34 -08:00
Adin Scannell a684bfb6c0 Split container tests from unit tests.
PiperOrigin-RevId: 351632484
2021-01-13 11:48:50 -08:00
Adin Scannell e74aa25e22 Fix Go branch building.
Files removed from the working tree were not being properly removed from
the branch, leading to symbol conflicts while building. This requires the
change to 'git add --all' in the tools/go_branch.sh script.

But why was this not caught by CI? The "git clean -f" command by default
only cleans files in the current working directory. In order to clean the
whole tree recursively, we need to specify a pathspec, which is ".".

In addition to these fixes, re-add the "go tests" command to help prevent
this from happening again, since merges on the Go branch will happen in
GitHub actions for simplicity. The Go test is retained in BuildKite.

PiperOrigin-RevId: 351503804
2021-01-12 20:33:28 -08:00
Adin Scannell a20da70829 Fix Go branch for arm64.
This requires several changes:
* Templates must preserve relevant tags.
* Pagetables templates are split into two targets, each preserving tags.
* The binary VDSO is similarly split into two targets, with some juggling.
* The top level tools/go_branch.sh now does a crossbuild of ARM64 as well,
  and checks and merges the results of the two branches together.

Fixes #5178

PiperOrigin-RevId: 351304330
2021-01-11 22:33:36 -08:00
Adin Scannell aac477733f Add additional required packages.
PiperOrigin-RevId: 351263241
2021-01-11 16:46:38 -08:00
Adin Scannell 0c99ab7090 Support releasing aarch64 builds.
This change works around an issue in rules_pkg, described here:
  https://github.com/bazelbuild/rules_pkg/pull/263

PiperOrigin-RevId: 350869030
2021-01-08 18:03:17 -08:00
gVisor bot bf343394d4 Merge pull request #5207 from avagin:arm64-cross
PiperOrigin-RevId: 350691246
2021-01-07 20:48:58 -08:00
Andrei Vagin 8de562b799 Add ARM smoke test
make BAZEL_CONFIG=aarch64 arm-qemu-smoke-test

Signed-off-by: Andrei Vagin <avagin@gmail.com>
2021-01-07 17:41:43 -08:00
Zach Koopmans f4b4ed666d Add runsc build job to BuildKite.
PiperOrigin-RevId: 350619346
2021-01-07 12:49:07 -08:00
Adin Scannell 776016ac64 Fix native benchmarks.
PiperOrigin-RevId: 350509137
2021-01-07 01:17:10 -08:00
Adin Scannell fa8682da0f Export a pprof visualization endpoint.
This allows us to link directly to profiling results from
the build results. The code uses the standard pprof http
server, exported from the Cloud Run instance.

PiperOrigin-RevId: 350440910
2021-01-06 15:44:07 -08:00
Adin Scannell b06e5bc5b0 Add benchmarks targets to BuildKite.
This includes minor fix-ups:

* Handle SIGTERM in runsc debug, to exit gracefully.
* Fix cmd.debug.go opening all profiles as RDONLY.
* Fix the test name in fio_test.go, and encode the block size in the test.

PiperOrigin-RevId: 350205718
2021-01-05 13:21:54 -08:00
Adin Scannell 899b9ba46a Add BuildKite annotations for failures and profiles.
This change cleans up some minor Makefile issues, and adds support for
BuildKite annotations on failure and on profiles being generated. These
annotations will make failures very clear and link to the artifacts.

This change is a stepping stone for aggregating coverage data from all
individual test jobs, as this will also happen in .buildkite/annotate.sh.

PiperOrigin-RevId: 349606598
2020-12-30 15:09:12 -08:00
Adin Scannell ed5850e8eb Add continuous VFS1 tests.
PiperOrigin-RevId: 349517093
2020-12-29 23:28:39 -08:00
Adin Scannell 5bdc167d17 Fix run and sudo targets.
These are not passing arguments properly. This breaks the current
pre-command for BuildKite.

PiperOrigin-RevId: 347062729
2020-12-11 13:25:44 -08:00
Adin Scannell 76c2f21cec Add local hooks for BuildKite.
PiperOrigin-RevId: 347044353
2020-12-11 11:52:43 -08:00
Adin Scannell e0cde3fb87 Ensure individual steps timeout in case of infinite hang.
Also, add a basic release test.

PiperOrigin-RevId: 347016796
2020-12-11 09:45:24 -08:00
Adin Scannell 65a2242db4 Tweak aarch64 support.
A few images were broken with respect to aarch64. We should now
be able to run push-all-images with ARCH=aarch64 as part of the
regular continuous integration builds, and add aarch64 smoke tests
(via user emulation for now) to the regular test suite (future).

PiperOrigin-RevId: 346685462
2020-12-09 18:51:17 -08:00
Adin Scannell a855a814d6 Refactor the Makefile to avoid recursive Make.
Recursive make is difficult to follow and debug. Drop this by using
internal functions, which, while difficult, are easier than trying to
following recursive invokations.

Further simplify the Makefile by collapsing the image bits and removing
the tools/vm directory, which is effectively unused.

Fixes #4952

PiperOrigin-RevId: 346569133
2020-12-09 15:53:23 -08:00
Adin Scannell 216abfb6df Update containerd tests for 1.4+ to 1.4.3.
PiperOrigin-RevId: 345764404
2020-12-04 15:05:46 -08:00
Fabricio Voznika 9eb77281c4 Update containerd to 1.3.9
PiperOrigin-RevId: 345564927
2020-12-03 16:55:44 -08:00
Adin Scannell 3186b50dff Add BuildKite pipeline.
PiperOrigin-RevId: 345490319
2020-12-03 11:06:57 -08:00