Commit Graph

13 Commits

Author SHA1 Message Date
DavidKorczynski d8de53b96f
esp-v2: fix build (#7308)
Build has been broken for 6+ months. This fixes it by updating bazel set
up.
2022-02-21 18:25:16 +00:00
Abhishek Arya 1d5a2cd84e
Fill in main_repo for several projects. (#4816)
* Fill in main_repo for several projects.

* Add some go repos.
2020-12-09 21:52:40 -08:00
Teju Nareddy 3e90a4ab3f
[espv2] Fix build failures due to OOM (#4569)
* [espv2] Fix build failures due to OOM

ESPv2 builds have been failing with OOM since we updated our envoy dependency.

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix ubsan and coverage builds

Only use `--copt -D__SANITIZE_ADDRESS__` for `address` builds

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Remove another copt

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix spawn strategy, unsure why it causes build failure

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-10-29 07:50:50 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Teju Nareddy f8c7f158f7
[ESPv2] Attempt to fix coverage build (#4062)
Currently, coverage builds fail on step 3 with:
```
Step #3: + rsync -avLkR --include '*.h' --include '*.cc' --include '*.hpp' --include '*.cpp' --include '*.c' --include '*/' --exclude '*' /tmp /workspace/out/coverage
Step #3: sending incremental file list
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_build.h"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_dns.h"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares.h"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_rules.h"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/ares/include/ares_version.h"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/sha1.c"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/gcm_nohw.c"
Step #3: symlink has no referent: "/tmp/tmp.BOH6TAB62E/include/digests.c"
...
```

Just exclude these files. Doubt they matter to us.

Ref: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23621&q=esp-v2&can=2
Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-07-01 16:56:39 -07:00
Abhishek Arya fa06dcc8ae
Remove cmake install from projects. (#3961) 2020-06-10 14:46:23 -07:00
Teju Nareddy bd66ce05ce
install rsync (#3920) 2020-06-01 21:30:14 -07:00
Teju Nareddy e5c7c7099b
[ESPv2] Fix coverage build (#3645) 2020-04-14 12:32:42 -07:00
Teju Nareddy 59cac107e6
[ESPv2] Use latest base-builder image (#3635)
No need for workaround since ESPv2 was updated to Bazel 3.0.0

Ref: #3093
Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-04-13 14:11:52 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Teju Nareddy f1c65bccf2
[esp-v2]: Fix broken builds by changing spawn strategy (#3485)
[Example failure](https://oss-fuzz-build-logs.storage.googleapis.com/log-8eabbac0-bb8f-4f90-a840-f23efe427e0e.txt)

This only occurs on the fuzzers for some reason, not on Travis CI. Error is similar to https://github.com/bazelbuild/bazel/issues/5640.

Change spawn strategy to `sandboxed` to work around this. Not sure why it was `local` to begin with (other than a slight performance improvement).

Tested locally to ensure this spawn strategy will work.

```
python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 esp-v2
```

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-03-09 16:47:57 -07:00
Abhishek Arya d444fc7c08
Fix ESPv2 build (#3461)
* Fix ESPv2 build

Don't assume correlation between file name and bazel target name.

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix some bash errors with splitting

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Coverage expects a path, not target

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-03-04 17:06:06 -08:00
Teju Nareddy 87c0ba8313
Add project: ESPv2 (#3445)
* Add project: ESPv2

Copy most configs from envoy

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix typo

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Remove comments

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Install all requirements

Signed-off-by: Teju Nareddy <nareddyt@google.com>

* Fix format

Signed-off-by: Teju Nareddy <nareddyt@google.com>
2020-02-28 18:33:48 -08:00