Commit Graph

90 Commits

Author SHA1 Message Date
Jan Tattermusch cdb3d823fd migrate windows RBE to win2019 pool 2020-05-13 14:39:59 +02:00
Jan Tattermusch 30e078f122
Improve bazel RBE documentation 2020-04-01 10:11:26 +02:00
Jan Tattermusch 94354b2b26 get rid of the long deprecated --incompatible_windows_native_test_wrapper flag 2020-03-23 16:21:18 +01:00
Jan Tattermusch f8d90ef897 port server must be used for mac bazel tests 2020-03-19 18:29:20 +01:00
Vijay Pai 0c0f3f0556 Declare microbenchmarks as tests rather than binaries, fix issues 2020-02-13 09:34:15 -08:00
Donna Dionne bf3ea2e3a5 Adding GRPC_PORT_ISOLATED_RUNTIME=1 to mac.bazelrc.
Since remote builds do not use port server, GRPC_PORT_ISOLATED_RUNTIME
is needed and it is missing from mac.bazelrc.

Before this fix
tools/bazel --bazelrc=tools/remote_build/mac.bazelrc test --config=opt test/cpp/end2end/...
failed with errors like
D0117 00:38:28.961089757      16 port_server_client.cc:139]  failed port pick from server: retrying

After this fix
build and test succeeded
2020-01-16 16:52:52 -08:00
Jan Tattermusch aa40b1c8b8
Merge pull request #20510 from jtattermusch/bazel_test_on_mac
Start running bazel C/C++ tests on mac
2019-11-27 12:09:43 +01:00
Jan Tattermusch 674b1f6f52 use more reasonable timeouts for sanitizer tests 2019-11-26 13:03:40 -05:00
Jan Tattermusch 7e6defd394 use default test timeouts for RBE opt and dbg tests 2019-11-26 13:03:40 -05:00
Jan Tattermusch 5bb72e0a47 introduce mac.bazelrc 2019-11-25 13:35:26 +01:00
Jan Tattermusch 8bf200752f avoid occasional timeout uploading RBE results 2019-11-15 03:02:37 -05:00
Eytan Kidron c97ce9057b Simplify the platform and constraints settings for remote execution
* Remove the toolchains //third_party/toolchains:local and //third_party/toolchains:local_large.
* Remove the platforms :rbe_ubuntu1604, :rbe_ubuntu1604_large, :local and :local_large.
* No longer inherit from @rbe_default//config:platform but instead use it directly. It is now the only non-windows platform.
* When creating @rbe_default//config:platform directly with rbe_autoconfig, set dockerAddCapabilities and dockerPrivileged directly in the exec_properties field. No need to set dockerNetwork to "off" and dockerSiblingContainers to false since these are the defaults.
* Also set gceMachineType = "n1-highmem-2" on the default platform. This value can be overridden by specific targets that want to use LARGE_MACHINE.
* Use create_exec_properties_dict where appropriate.
* Use custom_exec_properties to define LARGE_MACHINE.

I wasn't able to test thoroughly that this PR does not break any existing targets. I was not able to run anything on windows/mac and I also don't have access to gRPC's RBE setup.
2019-10-29 15:40:28 -04:00
Jan Tattermusch e5e3f70a1a Revert "Revert "Upgrade to bazel 1.0.0"" 2019-10-29 06:31:38 -04:00
Jan Tattermusch dddcb8dbd8 set high --remote_timeout
This reverts commit 65b184d30a.
2019-10-24 09:40:10 +02:00
Jan Tattermusch 65b184d30a no need to set --remote_timeout 2019-10-23 12:55:02 +02:00
Jan Tattermusch 4ecfab1488 increase remote_timeout to avoid "Unevaluated target" problems 2019-10-23 11:44:49 +02:00
Nicolas Noble 04d7e0d11f
Revert "Upgrade to bazel 1.0.0" 2019-10-15 14:26:32 -07:00
Jan Tattermusch 17529437b7 upgrade ubsan RBE toolchain 2019-10-14 12:11:29 -04:00
Jan Tattermusch d10fb3ba99 fix win RBE opt build 2019-10-07 07:55:44 -04:00
Jan Tattermusch 2262e2b8e8 add extra kokoro build info to Win RBE runs 2019-10-04 11:38:30 +02:00
Jan Tattermusch 6a8cf38137 use more parallel jobs workers for windows RBE 2019-10-02 08:19:04 -04:00
Jan Tattermusch f81ef767d3 filter out non-linux tests 2019-09-30 18:05:40 +02:00
Jan Tattermusch 1ba59b879e update windows RBE instructions 2019-09-30 13:28:00 +02:00
Jan Tattermusch c6f18ce6c5 make Win RBE test pass 2019-09-30 13:27:59 +02:00
Jan Tattermusch 84f555bfd8 simplify and unify manual builds 2019-09-16 16:31:21 +02:00
Jan Tattermusch e14212b9a5 fix windows RBE manual build instructions 2019-09-16 15:35:20 +02:00
Jan Tattermusch 5cd37064cb try fix win RBE build 2019-09-10 12:08:12 -04:00
Jan Tattermusch 4e8ecb9fe6
Revert "Upgrade to Bazel 0.29 (including Windows RBE)" 2019-09-06 12:31:45 +02:00
Jan Tattermusch 08dc331019 try fix win RBE build 2019-09-04 04:09:21 -04:00
Richard Belleville 1444cd1dd3 Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
This reverts commit 24c562dbaa.
2019-08-29 10:51:36 -07:00
Richard Belleville 24c562dbaa Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
This reverts commit c9c847f334, reversing
changes made to 07ba4de392.
2019-08-29 10:47:44 -07:00
Jan Tattermusch b7667478cf bump bazel version to 0.27 2019-08-27 17:39:15 -07:00
Nicolas "Pixel" Noble 5495a7f7b1 Merge branch 'master' of https://github.com/grpc/grpc into moiz-upb 2019-07-16 19:07:24 +02:00
Jan Tattermusch a3fd28bdbf fix ubsan build for 0.26 2019-06-14 02:33:01 -04:00
Nicolas "Pixel" Noble a0dc6f7e4a More syncup. 2019-06-14 07:35:33 +02:00
Jan Tattermusch a64ddff19c hijack bazel invocations in grpc workspace 2019-06-05 14:16:51 -04:00
Jan Tattermusch 659f71099c upgrade bazel toolchain to fix ubsan RBE build 2019-05-29 04:03:47 -04:00
Jan Tattermusch a3cc5ee574 use bazel.sh in bazel RBE readme 2019-05-23 18:44:18 +02:00
Jan Tattermusch 92a7d4b615 standardize bazel rbe credentials 2019-04-23 07:24:01 -04:00
Nicolas Lopez a32b1eb765
Merge branch 'master' into master 2019-04-11 15:00:34 -04:00
Bill Feng 5158c3db27 naming update, documentation fix 2019-04-08 14:39:09 -07:00
Bill Feng df89d8e157 bazel RBE Windows build 2019-04-05 11:40:11 -07:00
Jan Tattermusch 5f028a6a0e
Update remote_build credentials instructions. 2019-03-29 11:07:59 -07:00
Bill Feng ade5193c3f
Merge pull request #18479 from billfeng327/feature/reinstate-rbe-windows
Reinstated Bazel Windows local build
2019-03-28 23:01:44 -07:00
Jan Tattermusch 5fba3425c0
Fix link to unexistent docs 2019-03-28 16:36:39 -07:00
Nicolas Lopez 55d4aa9c82 fix ubsan crosstool flag 2019-03-28 09:56:50 -04:00
Nicolas Lopez 8d6b6accd7 use experimental ubsan config 2019-03-28 09:56:50 -04:00
Nicolas Lopez ad4926d5c6 avoid local runs from accessing remote platforms
This should fix Bazel Basic Tests for Python (Local) and other
local CI runs that are now failing.
I also have a plan to fix Bazel RBE Opt C/C++.
Bazel RBE UBSAN C/C++ might need to wait for gRPC to upgrade to
using 0.23.0
2019-03-28 09:56:50 -04:00
Nicolas Lopez d6dbaeee74 doc fixes 2019-03-28 09:56:50 -04:00
Nicolas Lopez d1640057f2 use rbe_autoconfig 2019-03-28 09:56:50 -04:00