Commit Graph

21 Commits

Author SHA1 Message Date
Lidi Zheng dbbb382158 Set CONFIG default value 'opt' 2018-12-12 10:24:47 -08:00
Lidi Zheng ca728e2269 Revert "Strict check for $config && Enable SC2154"
This reverts commit bdfb5691ad.
2018-12-12 10:11:43 -08:00
Lidi Zheng bdfb5691ad Strict check for $config && Enable SC2154 2018-12-11 16:30:07 -08:00
Lidi Zheng 8cb2d0546d Upgrade sanity Docker image to debian:stretch
* Use latest pylint in Python 3.7 (they dropped support for PY2)
* Make latest pylint happy
* Forced to upgrade to shellcheck 0.4.4
* Make shellcheck 0.4.4 happy
* Adopt reviewers' advice to reduce global disabled rules
2018-12-10 16:21:49 -08:00
Jan Tattermusch 3543b1b151 remove broken toplevel index.html file 2018-11-20 09:49:41 +01:00
Mehrdad Afshari 5b0685b6c2 Fix submodule handling in dockerized tests 2018-02-22 23:11:31 -08:00
Mehrdad Afshari 2fc4ad1ed9 Fix Linux artifact builds
Change `git submodule` copying mechanism from the host
to the docker container to use `git clone` instead of
`git submodule update --init --reference`, which reaches
out to the network and fails on older docker containers
with deprecated openssl versions that do not support
modern TLS versions required by GitHub, e.g. manylinux1.

This fixes artifact builds for protoc and Python on Linux.
2018-02-22 21:45:03 -08:00
Jan Tattermusch fb1ad35984 Using python's xdg-caching can cause flakes
Currently when running python test on linux, we are mounting
/tmp/xdg-cache-home to the docker container that runs the tests
in the attempt to prevent unnecessary downloads of pip packages
(with the theory that more downloads leads to increased flakiness)
- the idea is that while there is a new docker container for each
test suite, the xdg cache remains per-VM.

This approach no longer seems to be useful:
* It turns out that XDG cache doesn't work reliably when multiple
docker containers are using it concurrently (the concurrent run can
see corrupt files). We are using concurrent docker containers in our
multilang test suite to speed up the execution and we are currently
getting flakes seeing flakes caused by this.
* support for caching makes our docker_run scripts more complicated
and we really don't want that.
* since we migrated to kokoro, the caching is limited anyway -
as each run gets a fresh VM, we need to download packages anyway
for every build (and that actually seems to causing way less
flakiness the problem with concurrent XDG caching).
2018-02-05 17:44:15 +01:00
Mehrdad Afshari 8d2ee3849f Make docker_run_tests.sh pass shellcheck (with suppressions) 2018-01-25 09:08:37 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Jan Tattermusch 1642b7c1f6 copy sponge_log.xml from docker container once tests finish 2017-02-24 00:45:21 +01:00
Matt Kwong 8bed8c853f Merge remote-tracking branch 'upstream/master' into fix_docker_local_clone 2016-10-04 17:34:35 -07:00
Matt Kwong 66a1eea681 changed wheezy dockerfile to install git version > 1.7 to support local submodule cloning 2016-09-29 18:30:19 -07:00
Matt Kwong 10dcccadfb fixed whitespacing and docker_run_tests.sh now clones submodule via network 2016-09-28 16:55:15 -07:00
Matt Kwong 5d0f24600e changed method to local clone submodules to using git submodule foreach from the local copy 2016-09-28 16:55:15 -07:00
Matt Kwong 46c7f574bd submodule clone comments changed to be more descriptive 2016-09-28 16:55:15 -07:00
Matt Kwong ce9471c962 fixed wrong directory in git clone commands 2016-09-28 16:55:14 -07:00
Matt Kwong befac97048 fixed local cloning of grpc/grpc submodules on docker 2016-09-28 16:55:14 -07:00
Jan Tattermusch ba5196acdd improve report collection 2016-09-19 18:21:43 +02:00
yang-g 6ce4d0b335 prepare to enable ubsan in continuous build 2016-05-12 16:43:17 -07:00
Jan Tattermusch 99341e30cf move helper script for dockerization 2016-05-03 15:54:43 -07:00